tf.contrib.graph_editor.SubGraphView.remap(new_input_indices=None, new_output_indices=None)
Remap the inputs and outputs of the subgraph.
Note that this is only modifying the view: the underlying tf.Graph is not affected.
Args:
-
new_input_indices
: an iterable of integers representing a mapping between the old inputs and the new ones. This mapping can be under-complete and must be without repetitions. -
new_output_indices
: an iterable of integers representing a mapping between the old outputs and the new ones. This mapping can be under-complete and can have repetitions.
Returns:
A new modified instance of the original subgraph view with remapped inputs and outputs.
Please login to continue.