tf.contrib.graph_editor.SubGraphView.remap()

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.

doc_TensorFlow
2016-10-14 13:05:14
Comments
Leave a Comment

Please login to continue.