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

Function IsControlInput

tensorflow/core/grappler/utils.cc:178–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178bool IsControlInput(const string& name) {
179 return !name.empty() && name[0] == '^';
180}
181
182bool IsControlInput(const TensorId& tensor_id) { return tensor_id.index() < 0; }
183

Callers 15

HasControlInputsFunction · 0.85
HasRegularInputsFunction · 0.85
NumNonControlInputsFunction · 0.85
HasRegularOutputsFunction · 0.85
HasControlOutputsFunction · 0.85
NumControlOutputsFunction · 0.85
NumNonControlOutputsFunction · 0.85
NumNonControlDataOutputsFunction · 0.85
GetTailOfChainFunction · 0.85
DedupControlInputsFunction · 0.85
AsFunctionDefInputMethod · 0.85

Calls 2

emptyMethod · 0.45
indexMethod · 0.45

Tested by 3

TEST_FFunction · 0.68
TEST_FFunction · 0.68