Home
last modified time | relevance | path

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

/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()
248 qtype.getStorageTypeMax()); in ResetAxisAndBroadcast()
471 if (width == 8 && q_type.getStorageTypeMax() == 127 && in QuantizeLegacy()
561 (type.getStorageTypeMax() - type.getStorageTypeMin()); in DownCastScale()
574 q_type.getStorageTypeMax()); in DownCastScale()
579 q_type.getStorageTypeMin(), q_type.getStorageTypeMax()); in DownCastScale()
Dquantization_utils.h409 uqtype.getStorageTypeMax() - offset, op.getLoc()); in matchAndRewrite()
422 aqtype.getStorageTypeMax() - offset, op.getLoc()); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dconvert_tfl_uint8.cc95 static_cast<double>(output_element_type.getStorageTypeMax() - in matchAndRewrite()
169 static_cast<double>(uint8_element_type.getStorageTypeMax() - in convert_graph_uint8_tensor()
238 static_cast<double>(output_element_type.getStorageTypeMax() - in convert_graph_uint8_tensor()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h66 static_cast<double>(uniformType.getStorageTypeMax()), in UniformQuantizedValueConverter()
180 clampMax(static_cast<double>(uniformType.getStorageTypeMax())), in UniformQuantizedPerAxisValueConverter()
DQuantTypes.h118 int64_t getStorageTypeMax() const;
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp356 defaultIntegerMax != type.getStorageTypeMax()) { in printStorageType()
357 out << "<" << type.getStorageTypeMin() << ":" << type.getStorageTypeMax() in printStorageType()
DQuantTypes.cpp70 int64_t QuantizedType::getStorageTypeMax() const { in getStorageTypeMax() function in QuantizedType
/external/llvm-project/mlir/test/lib/Dialect/Tosa/
DTosaTestPasses.cpp70 double typeRangeMax = double(outputElementType.getStorageTypeMax() - in matchAndRewrite()
/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()
894 per_tensor.getStorageTypeMax()); in PostProcessFuncOp()