Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.distribute.UpdateContext

View source on GitHub

Class UpdateContext

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

__init__

View source

__init__(device)

Methods

__enter__

View source

__enter__()

__exit__

View source

__exit__(
    exception_type,
    exception_value,
    traceback
)