Searched refs:getExpressedType (Results 1 – 13 of 13) sorted by relevance
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | QuantTypes.cpp | 80 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()
|
D | TypeParser.cpp | 375 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/ |
D | convert_tfl_uint8.cc | 104 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/ |
D | UniformSupport.h | 68 assert(uniformType.getExpressedType().isa<FloatType>()); in UniformQuantizedValueConverter() 184 assert(uniformType.getExpressedType().isa<FloatType>()); in UniformQuantizedPerAxisValueConverter()
|
D | QuantTypes.h | 96 Type getExpressedType() const;
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_utils.cc | 143 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()
|
D | device_target.cc | 70 quant.getFlags(), quant.getStorageType(), quant.getExpressedType(), in AppendToSignature()
|
D | quantization_utils.h | 406 flags, qtype.getStorageType(), qtype.getExpressedType(), in matchAndRewrite() 419 flags, qtype.getStorageType(), qtype.getExpressedType(), in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Dialect/Quant/Utils/ |
D | UniformSupport.cpp | 45 if (elementalType.getExpressedType() == expressedType) in convert()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | prepare_quantize_helper.h | 468 /*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/ |
D | TosaTestPasses.cpp | 77 buildQTypeFromMinMax(rewriter, outputElementType.getExpressedType(), in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_import.cc | 885 per_axis.getExpressedType(), per_axis.getScales(), in PostProcessFuncOp() 892 per_tensor.getExpressedType(), per_tensor.getScale(), in PostProcessFuncOp()
|
D | flatbuffer_export.cc | 184 return GetTFLiteType(q_calibrated_type.getExpressedType()); in GetTFLiteType()
|