# tf.contrib.graph_editor.make_view_from_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/contrib/graph_editor/subgraph.py#L658-L668) |

Make a subgraph from a name scope.

#### View aliases


**Main aliases**

\`tf.contrib.graph_editor.sgv_scope\`

<br />

    tf.contrib.graph_editor.make_view_from_scope(
        scope, graph
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `scope` | the name of the scope. |
| `graph` | the [`tf.Graph`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/Graph). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A subgraph view representing the given scope. ||

<br />