#ifndef TENSORFLOW_MODELS_SEQ_FLOW_LITE_TFLITE_OPS_QUANTIZATION_UTIL_H_
#define TENSORFLOW_MODELS_SEQ_FLOW_LITE_TFLITE_OPS_QUANTIZATION_UTIL_H_
#include <algorithm>
#include <cmath>
#include <limits>
#include "absl/base/macros.h"
#include "tensorflow/lite/context.h"
#include "tensorflow/lite/kernels/internal/tensor_ctypes.h"
namespace seq_flow_lite {
template <typename T>
inline float PodDequantizeValue(const TfLiteTensor& tensor, T value) { … }
template <typename T>
inline float PodDequantize(const TfLiteTensor& tensor, int index) { … }
ABSL_DEPRECATED("Use PodDequantizeValue<uint8_t> instead.")
inline float PodDequantizeValue(const TfLiteTensor& tensor, uint8_t value) { … }
ABSL_DEPRECATED("Use PodDequantize<uint8_t> instead.")
inline float PodDequantize(const TfLiteTensor& tensor, int index) { … }
template <typename T>
inline T PodQuantize(float value, int32_t zero_point, float inverse_scale) { … }
ABSL_DEPRECATED("Use PodQuantize<uint8_t> instead.")
inline uint8_t PodQuantize(float value, int32_t zero_point,
float inverse_scale) { … }
}
#endif