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

Function CountTrueOutputs

tensorflow/lite/toco/tooling_util.cc:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132int CountTrueOutputs(const Model& model, const Operator& op) {
133 int count = 0;
134 for (const string& output : op.outputs) {
135 if (IsArrayConsumed(model, output)) {
136 ++count;
137 }
138 }
139 return count;
140}
141
142int CountOpsWithInput(const Model& model, const string& array_name) {
143 int count = 0;

Callers 2

RunMethod · 0.85
RunMethod · 0.85

Calls 1

IsArrayConsumedFunction · 0.85

Tested by

no test coverage detected