tf.Session.reset(target, containers=None, config=None)
Resets resource containers on target, and close all connected sessions.
A resource container is distributed across all workers in the same cluster as target. When a resource container on target is reset, resources associated with that container will be cleared. In particular, all Variables in the container will become undefined: they lose their values and shapes.
NOTE: (i) reset() is currently only implemented for distributed sessions. (ii