tf.contrib.graph_editor.SubGraphView.remap_outputs(new_output_indices)
Remap the output of the subgraph.
If the output of the original subgraph are [t0, t1, t2], remapping to [1,1,0] will create a new instance whose outputs is [t1, t1, t0].
Note that this is only modifying the view: the underlying tf.Graph is not affected.
Args:
-
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 outputs.
Please login to continue.