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. |