# tf.contrib.framework.prepend_name_scope

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/framework/ops.py#L6482-L6506) |

Prepends name scope to a name.

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

<br />

<br />

<br />

| ## Args ||
|---|---|
| `name` | A `string` name. |
| `import_scope` | Optional `string`. Name scope to add. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Name with name scope added, or the original name if import_scope is None. ||

<br />