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

Function swap_inputs

tensorflow/contrib/graph_editor/reroute.py:394–396  ·  view source on GitHub ↗

Swap all the inputs of sgv0 and sgv1 (see reroute_inputs).

(sgv0, sgv1)

Source from the content-addressed store, hash-verified

392
393
394def swap_inputs(sgv0, sgv1):
395 """Swap all the inputs of sgv0 and sgv1 (see reroute_inputs)."""
396 return _reroute_sgv_inputs(sgv0, sgv1, _RerouteMode.swap)
397
398
399def reroute_inputs(sgv0, sgv1):

Callers

nothing calls this directly

Calls 1

_reroute_sgv_inputsFunction · 0.85

Tested by

no test coverage detected