MCPcopy Create free account
hub / github.com/alibaba/nann / _make_inputs_match

Function _make_inputs_match

tensorflow/tensorflow/python/ops/cond_v2.py:508–550  ·  view source on GitHub ↗

Modifies branch_graphs so they have the same input signature. This method reorders and/or adds parameters to each graph in branch_graphs so they have the same input signature, and updates the 'inputs' and 'captured' fields of each graph accordingly. It uses the input tensors from the outer

(branch_graphs, branch_inputs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_build_condFunction · 0.85
_build_caseFunction · 0.85

Calls 6

_create_dummy_inputFunction · 0.85
reset_capturesMethod · 0.80
tensor_idMethod · 0.45
addMethod · 0.45
appendMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected