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

Function IsSubgraphInput

tensorflow/lite/tools/optimize/quantize_model.cc:354–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354bool IsSubgraphInput(SubGraphT* subgraph, int32_t index) {
355 for (const int32_t input_idx : subgraph->inputs) {
356 if (index == input_idx) {
357 return true;
358 }
359 }
360 return false;
361}
362
363// Quantize the op input. Will increment op_idx if ops are added.
364TfLiteStatus QuantizeOpInput(

Callers 1

QuantizeOpInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected