W3cubDocs

/TensorFlow Python

tf.container(container_name)

tf.container(container_name)

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.

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

© 2017 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