Home
last modified time | relevance | path

Searched refs:quantized_values (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc372 const flatbuffers::Vector<uint8_t> *quantized_values = in SafeGetQuantizedValues() local
373 matrix->quantized_values(); in SafeGetQuantizedValues()
374 if (quantized_values == nullptr) { in SafeGetQuantizedValues()
377 return quantized_values->data(); in SafeGetQuantizedValues()
Dembedding-network.fbs46 // should be stored in |quantized_values| and the float16 quantization scales
56 quantized_values:[ubyte];
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dportable_tensor_utils.h35 int8_t* quantized_values, float* min_value,
155 int8_t* quantized_values, float* min, float* max, in SymmetricQuantizeFloats() argument
157 return PortableSymmetricQuantizeFloats(values, size, quantized_values, min, in SymmetricQuantizeFloats()
Dportable_tensor_utils.cc46 int8_t* quantized_values, float* min_value, in PortableSymmetricQuantizeFloats() argument
54 memset(quantized_values, 0, size * sizeof(int8_t)); in PortableSymmetricQuantizeFloats()
64 quantized_values[i] = std::min(kScale, std::max(-kScale, quantized_value)); in PortableSymmetricQuantizeFloats()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dtensor_utils_impl.h177 int8_t* quantized_values, float* min,
180 int8_t* quantized_values, float* min,
Dneon_tensor_utils.h148 int8_t* quantized_values, float* min_value, in SymmetricQuantizeFloats() argument
150 NEON_OR_PORTABLE(SymmetricQuantizeFloats, values, size, quantized_values, in SymmetricQuantizeFloats()
Dneon_tensor_utils.cc882 int8_t* quantized_values, float* min, in NeonSymmetricQuantizeFloats() argument
891 memset(quantized_values, 0, size * sizeof(int8_t)); in NeonSymmetricQuantizeFloats()
949 vst1_s8(&quantized_values[i], min_s8x8); in NeonSymmetricQuantizeFloats()
955 quantized_values[i] = std::min(kScale, std::max(-kScale, quantized_value)); in NeonSymmetricQuantizeFloats()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtensor_utils.h38 int8_t* quantized_values, float* min_value,