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.contrib.framework.prepend_name_scope

View source on GitHub

Prepends name scope to a name.

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

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.