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

Function HasMinMax

tensorflow/lite/tools/optimize/model_utils.cc:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117bool HasMinMax(const TensorT* tensor) {
118 return tensor->quantization && !tensor->quantization->min.empty() &&
119 !tensor->quantization->max.empty();
120}
121
122void SetOperatorCodeVersion(ModelT* model) {
123 for (int i = 0; i < model->operator_codes.size(); ++i) {

Callers 3

TESTFunction · 0.85
QuantizeOpInputFunction · 0.85
QuantizeOpOutputFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by 1

TESTFunction · 0.68