Home
last modified time | relevance | path

Searched refs:new_input_indices (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/graph_editor/
Dsubgraph.py296 def _remap_inputs(self, new_input_indices): argument
298 new_input_indices = _finalize_indices(new_input_indices, self._input_ts)
300 new_input_indices, len(self._input_ts), repetition=False)
301 self._input_ts = [self._input_ts[i] for i in new_input_indices]
363 def remap_inputs(self, new_input_indices): argument
383 res._remap_inputs(new_input_indices) # pylint: disable=protected-access
409 def remap(self, new_input_indices=None, new_output_indices=None): argument
431 if new_input_indices is not None:
432 res._remap_inputs(new_input_indices) # pylint: disable=protected-access
/external/tensorflow/tensorflow/contrib/graph_editor/tests/
Dsubgraph_test.py72 sgv = sgv.remap(new_input_indices=[], new_output_indices=[])