tf.contrib.distribute.UpdateContext

Class UpdateContext

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

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

__init__

__init__(device)

Methods

__enter__

__enter__()

__exit__

__exit__(
    exception_type,
    exception_value,
    traceback
)