Home
last modified time | relevance | path

Searched refs:getStorageTypeMin (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dconvert_tfl_uint8.cc91 static_cast<double>(output_element_type.getStorageTypeMin() - in matchAndRewrite()
99 output_element_type.getStorageTypeMin() == 1 ? true : false; in matchAndRewrite()
165 static_cast<double>(uint8_element_type.getStorageTypeMin() - in convert_graph_uint8_tensor()
173 uint8_element_type.getStorageTypeMin() == 1 ? true : false; in convert_graph_uint8_tensor()
234 static_cast<double>(output_element_type.getStorageTypeMin() - in convert_graph_uint8_tensor()
242 output_element_type.getStorageTypeMin() == 1 ? true : false; in convert_graph_uint8_tensor()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Ddevice_target.cc71 quant.getStorageTypeMin(), quant.getStorageTypeMax())); in AppendToSignature()
140 o_spec.getStorageTypeMin(), o_spec.getStorageTypeMax())); in DecomposeMultiplyAccumulateScale()
175 o_spec.getStorageTypeMin(), o_spec.getStorageTypeMax())); in DecomposeSameScale()
Dquantization_utils.cc145 qtype.getStorageTypeMin(), qtype.getStorageTypeMax()); in RescaleQuantizedType()
247 scales, zero_points, quant_dim, qtype.getStorageTypeMin(), in ResetAxisAndBroadcast()
472 q_type.getStorageTypeMin() == -127) { in QuantizeLegacy()
561 (type.getStorageTypeMax() - type.getStorageTypeMin()); in DownCastScale()
573 scales[0], q_type.getZeroPoint(), q_type.getStorageTypeMin(), in DownCastScale()
579 q_type.getStorageTypeMin(), q_type.getStorageTypeMax()); in DownCastScale()
Dquantization_utils.h408 uqtype.getStorageTypeMin() - offset, in matchAndRewrite()
421 aqtype.getStorageTypeMin() - offset, in matchAndRewrite()
/external/llvm-project/mlir/test/lib/Dialect/Tosa/
DTosaTestPasses.cpp67 double typeRangeMin = double(outputElementType.getStorageTypeMin() - in matchAndRewrite()
73 bool narrow_range = outputElementType.getStorageTypeMin() == 1 ? true : false; in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h65 static_cast<double>(uniformType.getStorageTypeMin()), in UniformQuantizedValueConverter()
179 clampMin(static_cast<double>(uniformType.getStorageTypeMin())), in UniformQuantizedPerAxisValueConverter()
DQuantTypes.h115 int64_t getStorageTypeMin() const;
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp355 if (defaultIntegerMin != type.getStorageTypeMin() || in printStorageType()
357 out << "<" << type.getStorageTypeMin() << ":" << type.getStorageTypeMax() in printStorageType()
DQuantTypes.cpp66 int64_t QuantizedType::getStorageTypeMin() const { in getStorageTypeMin() function in QuantizedType
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_quantize_helper.h508 qtype.getStorageTypeMin(), qtype.getStorageTypeMax()); in GetUniformQuantizedTypeForBiasWithScale()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc887 per_axis.getStorageTypeMin() - 1, per_axis.getStorageTypeMax()); in PostProcessFuncOp()
893 per_tensor.getZeroPoint(), per_tensor.getStorageTypeMin() - 1, in PostProcessFuncOp()