![]() |
Class UpdateContext
Context manager when you are in update()
or update_non_slot()
.
__init__
__init__(device)
Initialize self. See help(type(self)) for accurate signature.
Methods
tf.contrib.distribute.UpdateContext.__enter__
__enter__()
tf.contrib.distribute.UpdateContext.__exit__
__exit__(
exception_type,
exception_value,
traceback
)