tf.contrib.graph_editor.SubGraphView.remove_unused_ops(control_inputs=True)
Remove unused ops.
Args:
-
control_inputs
: if True, control inputs are used to detect used ops.
Returns:
A new subgraph view which only contains used operations.
tf.contrib.graph_editor.SubGraphView.remove_unused_ops(control_inputs=True)
Remove unused ops.
control_inputs
: if True, control inputs are used to detect used ops.A new subgraph view which only contains used operations.
Please login to continue.