tf.contrib.graph_editor.make_view_from_scope

View source on GitHub

Make a subgraph from a name scope.

scope the name of the scope.
graph the tf.Graph.

A subgraph view representing the given scope.