tf.contrib.graph_editor.OpMatcher.control_input_ops()

tf.contrib.graph_editor.OpMatcher.control_input_ops(*args) Add input matches.

tf.contrib.graph_editor.OpMatcher.__call__()

tf.contrib.graph_editor.OpMatcher.__call__(op) Evaluate if the op matches or not.

tf.contrib.graph_editor.matcher.input_ops()

tf.contrib.graph_editor.matcher.input_ops(*args) Add input matches.

tf.contrib.graph_editor.matcher.output_ops()

tf.contrib.graph_editor.matcher.output_ops(*args) Add output matches.

tf.contrib.graph_editor.OpMatcher

class tf.contrib.graph_editor.OpMatcher Graph match class.

tf.contrib.graph_editor.matcher.control_input_ops()

tf.contrib.graph_editor.matcher.control_input_ops(*args) Add input matches.

tf.contrib.graph_editor.matcher.__init__()

tf.contrib.graph_editor.matcher.__init__(positive_filter) Graph match constructor.

tf.contrib.graph_editor.matcher.__call__()

tf.contrib.graph_editor.matcher.__call__(op) Evaluate if the op matches or not.

tf.contrib.graph_editor.make_placeholder_from_tensor()

tf.contrib.graph_editor.make_placeholder_from_tensor(t, scope=None) Create a tf.placeholder for the Graph Editor. Note that the correct graph scope must be set by the calling function. Args: t: a tf.Tensor whose name will be used to create the placeholder (see function placeholder_name). scope: absolute scope within which to create the placeholder. None means that the scope of t is preserved. "" means the root scope. Returns: A newly created tf.placeholder. Raises: TypeError: if t is not

tf.contrib.graph_editor.make_view_from_scope()

tf.contrib.graph_editor.make_view_from_scope(scope, graph) Make a subgraph from a name scope. Args: scope: the name of the scope. graph: the tf.Graph. Returns: A subgraph view representing the given scope.