Searched refs:quantizedElementType (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/ |
| H A D | QuantizeUtils.cpp | 23 Attribute origRealValue, QuantizedType quantizedElementType, in convertPrimitiveValueAttr() argument 27 outConvertedType = quantizedElementType.getStorageType(); in convertPrimitiveValueAttr() 28 return IntegerAttr::get(quantizedElementType.getStorageType(), in convertPrimitiveValueAttr() 40 QuantizedType quantizedElementType, in convertDenseFPElementsAttr() argument 57 quantizedElementType in convertDenseFPElementsAttr() 71 QuantizedType quantizedElementType, in convertSparseElementsAttr() argument 79 quantizedElementType, converter); in convertSparseElementsAttr() 100 Attribute realValue, UniformQuantizedType quantizedElementType, in quantizeAttrUniform() argument 128 QuantizedType quantizedElementType, in quantizeAttr() argument 131 quantizedElementType.dyn_cast<UniformQuantizedType>()) { in quantizeAttr() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/Transforms/ |
| H A D | ConvertConst.cpp | 53 QuantizedType quantizedElementType = in matchAndRewrite() local 55 if (!quantizedElementType) { in matchAndRewrite() 65 if (!quantizedElementType.isCompatibleExpressedType( in matchAndRewrite() 77 quantizeAttr(value, quantizedElementType, newConstValueType); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/ |
| H A D | QuantizeUtils.h | 36 Attribute quantizeAttr(Attribute realValue, QuantizedType quantizedElementType, 55 UniformQuantizedType quantizedElementType,
|