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)

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

Methods

__enter__

View source

__enter__()

__exit__

View source

__exit__(
    exception_type,
    exception_value,
    traceback
)