W3cubDocs

/TensorFlow Python

tf.container

tf.container(container_name)

Defined in tensorflow/python/framework/ops.py.

See the guide: Building Graphs > Utility functions

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

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.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/container