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

Function IsInputArray

tensorflow/lite/toco/tooling_util.cc:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool IsInputArray(const Model& model, const string& array_name) {
100 for (const auto& input_array : model.flags.input_arrays()) {
101 if (array_name == input_array.name()) {
102 return true;
103 }
104 }
105 return false;
106}
107
108bool IsOutputArray(const Model& model, const string& array_name) {
109 for (const auto& output_array : model.flags.output_arrays()) {

Callers 8

GetArrayColorAndShapeFunction · 0.85
GetArrayCompassPtFunction · 0.85
DumpOperatorEdgesFunction · 0.85
IsDiscardableArrayFunction · 0.85
RunMethod · 0.85
RunMethod · 0.85
DequantizeArrayFunction · 0.85

Calls 1

nameMethod · 0.65

Tested by

no test coverage detected