/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | portable_tensor_utils.h | 38 int8_t* quantized_values, float* min, float* max, in SymmetricQuantizeFloats() argument 40 PortableSymmetricQuantizeFloats(values, size, quantized_values, min, max, in SymmetricQuantizeFloats() 45 int8_t* quantized_values, float min_value, in SymmetricQuantizeFloats() argument 47 PortableSymmetricQuantizeFloats(values, size, quantized_values, min_value, in SymmetricQuantizeFloats() 52 int8_t* quantized_values, float* scaling_factor, in AsymmetricQuantizeFloats() argument 54 PortableAsymmetricQuantizeFloats(values, size, quantized_values, in AsymmetricQuantizeFloats()
|
D | portable_tensor_utils_impl.h | 44 int8_t* quantized_values, float* min_value, 48 int8_t* quantized_values, float min_value, 52 int8_t* quantized_values,
|
D | portable_tensor_utils.cc | 41 int8_t* quantized_values, float* min_value, in PortableSymmetricQuantizeFloats() argument 47 PortableSymmetricQuantizeFloats(values, size, quantized_values, *min_value, in PortableSymmetricQuantizeFloats() 52 int8_t* quantized_values, float min_value, in PortableSymmetricQuantizeFloats() argument 57 memset(quantized_values, 0, size * sizeof(int8_t)); in PortableSymmetricQuantizeFloats() 67 quantized_values[i] = static_cast<int8_t>( in PortableSymmetricQuantizeFloats() 73 int8_t* quantized_values, in PortableAsymmetricQuantizeFloats() argument 83 memset(quantized_values, 0, size * sizeof(int8_t)); in PortableAsymmetricQuantizeFloats() 114 quantized_values[i] = in PortableAsymmetricQuantizeFloats()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | sse_tensor_utils.h | 265 int8_t* quantized_values, float* min_value, in SymmetricQuantizeFloats() argument 267 NEON_OR_PORTABLE(SymmetricQuantizeFloats, values, size, quantized_values, in SymmetricQuantizeFloats() 272 int8_t* quantized_values, float min_value, in SymmetricQuantizeFloats() argument 274 NEON_OR_PORTABLE(SymmetricQuantizeFloats, values, size, quantized_values, in SymmetricQuantizeFloats() 279 int8_t* quantized_values, float* scaling_factor, in AsymmetricQuantizeFloats() argument 281 NEON_OR_PORTABLE(AsymmetricQuantizeFloats, values, size, quantized_values, in AsymmetricQuantizeFloats()
|
D | neon_tensor_utils.h | 255 int8_t* quantized_values, float* min_value, in SymmetricQuantizeFloats() argument 257 NEON_OR_PORTABLE(SymmetricQuantizeFloats, values, size, quantized_values, in SymmetricQuantizeFloats() 262 int8_t* quantized_values, float min_value, in SymmetricQuantizeFloats() argument 264 NEON_OR_PORTABLE(SymmetricQuantizeFloats, values, size, quantized_values, in SymmetricQuantizeFloats() 269 int8_t* quantized_values, float* scaling_factor, in AsymmetricQuantizeFloats() argument 271 NEON_OR_PORTABLE(AsymmetricQuantizeFloats, values, size, quantized_values, in AsymmetricQuantizeFloats()
|
D | neon_tensor_utils_impl.h | 146 int8_t* quantized_values, float* min, 151 int8_t* quantized_values, float min, float max, 156 int8_t* quantized_values,
|
D | neon_tensor_utils.cc | 2290 int8_t* quantized_values, float* min, in NeonSymmetricQuantizeFloats() argument 2296 NeonSymmetricQuantizeFloats(values, size, quantized_values, *min, *max, in NeonSymmetricQuantizeFloats() 2301 int8_t* quantized_values, float min, float max, in NeonSymmetricQuantizeFloats() argument 2306 memset(quantized_values, 0, size * sizeof(int8_t)); in NeonSymmetricQuantizeFloats() 2348 vst1_s8(&quantized_values[i], min_s8x8); in NeonSymmetricQuantizeFloats() 2354 quantized_values[i] = std::min(kScale, std::max(-kScale, quantized_value)); in NeonSymmetricQuantizeFloats() 2359 int8_t* quantized_values, in NeonAsymmetricQuantizeFloats() argument 2369 memset(quantized_values, 0, size * sizeof(int8_t)); in NeonAsymmetricQuantizeFloats() 2431 vst1_s8(&quantized_values[i], min_s8x8); in NeonAsymmetricQuantizeFloats() 2437 quantized_values[i] = in NeonAsymmetricQuantizeFloats()
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_utils.cc | 38 int8_t* quantized_values, in SignedSymmetricPerChannelQuantize() argument 73 quantized_values[idx] = in SignedSymmetricPerChannelQuantize()
|
D | micro_utils.h | 97 int8_t* quantized_values,
|
/external/libtextclassifier/native/lang_id/common/flatbuffers/ |
D | embedding-network-params-from-flatbuffer.cc | 372 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()
|
D | embedding-network.fbs | 46 // should be stored in |quantized_values| and the float16 quantization scales 56 quantized_values:[ubyte];
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_utils.cc | 473 std::vector<int8_t> quantized_values(real_values_attr.getNumElements()); in QuantizeLegacy() local 477 real_values.data(), real_values.size(), quantized_values.data(), &min, in QuantizeLegacy() 492 uniform_type.getQuantizedDimension(), &quantized_values); in QuantizeLegacy() 496 std::transform(quantized_values.begin(), quantized_values.end(), in QuantizeLegacy() 504 auto quantized_values = in QuantizeLegacy() local 507 std::transform(quantized_values.begin(), quantized_values.end(), in QuantizeLegacy()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | tensor_utils_common.h | 40 int8_t* quantized_values, float* min_value, 48 int8_t* quantized_values, float min_value, 52 int8_t* quantized_values, float* scaling_factor,
|