Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.distribute.UpdateContext

Class UpdateContext

Defined in tensorflow/python/distribute/distribute_lib.py.

Context manager when you are in update() or update_non_slot().

__init__

__init__(device)

Initialize self. See help(type(self)) for accurate signature.

Methods

__enter__

__enter__()

__exit__

__exit__(
    exception_type,
    exception_value,
    traceback
)