W3cubDocs

/TensorFlow Python

tf.contrib.framework.prepend_name_scope

tf.contrib.framework.prepend_name_scope(
    name,
    import_scope
)

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

Prepends name scope to a name.

Args:

  • name: A string name.
  • import_scope: Optional string. Name scope to add.

Returns:

Name with name scope added, or the original name if import_scope is None.

© 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/contrib/framework/prepend_name_scope