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

Function _build_case

tensorflow/tensorflow/python/ops/cond_v2.py:989–1045  ·  view source on GitHub ↗

Creates an `Case` op from `branch_index`, branch graphs and inputs. Note that this modifies `branch_graphs` to make the inputs match, and to output all intermediates values so they're available for the gradient computation. `branch_graphs` need not have the same input types, but they must

(branch_index, branch_graphs, branch_inputs, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

indexed_caseFunction · 0.85
_CaseGradFunction · 0.85

Calls 9

_check_same_outputsFunction · 0.85
_make_inputs_matchFunction · 0.85
sumFunction · 0.85
_get_output_shapesFunction · 0.85
caseMethod · 0.80
prevent_fetchingMethod · 0.80
control_dependenciesMethod · 0.45
identityMethod · 0.45

Tested by

no test coverage detected