MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _finalize_indices

Function _finalize_indices

tensorflow/contrib/graph_editor/subgraph.py:47–49  ·  view source on GitHub ↗

Returns index in `indices` as is or replace with tensor's index.

(list_of_index_or_t, ts)

Source from the content-addressed store, hash-verified

45
46
47def _finalize_indices(list_of_index_or_t, ts):
48 """Returns index in `indices` as is or replace with tensor's index."""
49 return [_finalize_index(index_or_t, ts) for index_or_t in list_of_index_or_t]
50
51
52def _check_within_range(mapping, n, repetition):

Callers 2

_remap_inputsMethod · 0.85
_remap_outputsMethod · 0.85

Calls 1

_finalize_indexFunction · 0.85

Tested by

no test coverage detected