//legacy stuff
// #include "uTensor/util/quantization_utils.hpp"
// void RequantizeManyInNewRangeReference(const int* input, int32_t count,
// float min_input, float max_input,
// float min_output,
// float max_output,
// unsigned char* output) {
// // Initially we calculate all the constants we need once, before we go into
// // the inner loop. If this is updated, also update the Eigen version.
// const int fp_shift = 16;
// const float input_range = max_input - min_input;
// const float output_range = max_output - min_output;
// const float recip_output_range =
// output_range == 0.0 ? 0.0 : (255.0 / output_range);
// const float input_rezero = (min_input + max_input) / 2.0;
// const int64_t range_scale_fp =
// output_range == 0.0 ? 0.0
// : static_cast(255.0 * (1