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

Function HasRegularInputs

tensorflow/core/grappler/utils.cc:270–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270bool HasRegularInputs(const NodeDef& node) {
271 const int num_inputs = node.input_size();
272 if (num_inputs > 0 && !IsControlInput(node.input(0))) {
273 return true;
274 }
275 return false;
276}
277
278int NumNonControlInputs(const NodeDef& node) {
279 int num_inputs = node.input_size();

Callers 4

TEST_FFunction · 0.85
IsSupportedMethod · 0.85
InferStaticallyMethod · 0.85

Calls 3

IsControlInputFunction · 0.85
input_sizeMethod · 0.45
inputMethod · 0.45

Tested by 1

TEST_FFunction · 0.68