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

Function IsOutputArray

tensorflow/lite/toco/tooling_util.cc:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108bool IsOutputArray(const Model& model, const string& array_name) {
109 for (const auto& output_array : model.flags.output_arrays()) {
110 if (array_name == output_array) {
111 return true;
112 }
113 }
114 return false;
115}
116
117bool IsArrayConsumed(const Model& model, const string& name) {
118 if (GetOpWithInput(model, name)) {

Callers 5

GetArrayColorAndShapeFunction · 0.85
GetArrayCompassPtFunction · 0.85
IsArrayConsumedFunction · 0.85
IsDiscardableArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected