| 544 | |
| 545 | namespace internal { |
| 546 | TfLiteStatus QuantizeWeights(flatbuffers::FlatBufferBuilder* builder, |
| 547 | const Model* input_model, |
| 548 | uint64_t weights_min_num_elements, |
| 549 | bool use_hybrid_evaluation) { |
| 550 | // By default we require that only weights with more than |
| 551 | // kWeightsMinSizeDefault elements are quantized. |
| 552 | CustomOpMap custom_op_map; |
| 553 | return QuantizeWeightsInt8(builder, input_model, use_hybrid_evaluation, |
| 554 | weights_min_num_elements, custom_op_map); |
| 555 | } |
| 556 | } // namespace internal |
| 557 | |
| 558 | TfLiteStatus QuantizeWeights(flatbuffers::FlatBufferBuilder* builder, |