TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

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
)