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.container

View source on GitHub

Wrapper for Graph.container() using the default graph.

Aliases:

tf.container(container_name)

Args:

  • container_name: The container string to use in the context.

Returns:

A context manager that specifies the default container to use for newly created stateful ops.