Missed TensorFlow World? Check out the recap. Learn more

tf.compat.v1.container

View source on GitHub

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

tf.compat.v1.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.