Home
last modified time | relevance | path

Searched refs:getExpressedType (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DQuantTypes.cpp80 Type QuantizedType::getExpressedType() const { in getExpressedType() function in QuantizedType
87 getExpressedType(); in isCompatibleExpressedType()
89 return candidateExpressedType == getExpressedType(); in isCompatibleExpressedType()
147 if (candidateType == getExpressedType()) { in castFromExpressedType()
152 if (candidateShapedType.getElementType() != getExpressedType()) { in castFromExpressedType()
174 return quantizedType.cast<QuantizedType>().getExpressedType(); in castToExpressedType()
182 sType.getElementType().cast<QuantizedType>().getExpressedType(); in castToExpressedType()
DTypeParser.cpp375 if (Type expressedType = type.getExpressedType()) { in printAnyQuantizedType()
386 out << ":" << type.getExpressedType() << ", "; in printUniformQuantizedType()
398 out << ":" << type.getExpressedType() << ":"; in printUniformQuantizedPerAxisType()
418 out << "calibrated<" << type.getExpressedType(); in printCalibratedQuantizedType()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dconvert_tfl_uint8.cc104 builder, output_element_type.getExpressedType(), in matchAndRewrite()
178 builder, uint8_element_type.getExpressedType(), in convert_graph_uint8_tensor()
247 builder, output_element_type.getExpressedType(), in convert_graph_uint8_tensor()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h68 assert(uniformType.getExpressedType().isa<FloatType>()); in UniformQuantizedValueConverter()
184 assert(uniformType.getExpressedType().isa<FloatType>()); in UniformQuantizedPerAxisValueConverter()
DQuantTypes.h96 Type getExpressedType() const;
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc143 qtype.getFlags(), qtype.getStorageType(), qtype.getExpressedType(), in RescaleQuantizedType()
246 qtype.getFlags(), qtype.getStorageType(), qtype.getExpressedType(), in ResetAxisAndBroadcast()
390 if (expressed_type && expressed_type != op_type.getExpressedType()) { in GetUniformQuantizedTypeForBias()
393 expressed_type = op_type.getExpressedType(); in GetUniformQuantizedTypeForBias()
572 q_type.getFlags(), q_type.getStorageType(), q_type.getExpressedType(), in DownCastScale()
577 q_type.getFlags(), q_type.getStorageType(), q_type.getExpressedType(), in DownCastScale()
Ddevice_target.cc70 quant.getFlags(), quant.getStorageType(), quant.getExpressedType(), in AppendToSignature()
Dquantization_utils.h406 flags, qtype.getStorageType(), qtype.getExpressedType(), in matchAndRewrite()
419 flags, qtype.getStorageType(), qtype.getExpressedType(), in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DUniformSupport.cpp45 if (elementalType.getExpressedType() == expressedType) in convert()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_quantize_helper.h468 /*narrowRange=*/false, calibrated_type.getExpressedType(), in processIntermediates()
480 /*narrowRange=*/true, calibrated_type.getExpressedType(), in processIntermediates()
506 qtype.getFlags(), qtype.getStorageType(), qtype.getExpressedType(), in GetUniformQuantizedTypeForBiasWithScale()
/external/llvm-project/mlir/test/lib/Dialect/Tosa/
DTosaTestPasses.cpp77 buildQTypeFromMinMax(rewriter, outputElementType.getExpressedType(), in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc885 per_axis.getExpressedType(), per_axis.getScales(), in PostProcessFuncOp()
892 per_tensor.getExpressedType(), per_tensor.getScale(), in PostProcessFuncOp()
Dflatbuffer_export.cc184 return GetTFLiteType(q_calibrated_type.getExpressedType()); in GetTFLiteType()