Searched refs:narrowRange (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/ |
| H A D | FakeQuantSupport.cpp | 15 static bool getDefaultStorageParams(unsigned numBits, bool narrowRange, in getDefaultStorageParams() argument 52 if (narrowRange) { in getDefaultStorageParams() 109 double rmax, bool narrowRange, in fakeQuantAttrsToType() argument 116 if (getDefaultStorageParams(numBits, narrowRange, isSigned, ctx, storageType, in fakeQuantAttrsToType() 141 ArrayRef<double> rmins, ArrayRef<double> rmaxs, bool narrowRange, in fakeQuantAttrsToType() argument 154 if (getDefaultStorageParams(numBits, narrowRange, isSigned, ctx, storageType, in fakeQuantAttrsToType()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/ |
| H A D | FakeQuantSupport.h | 53 bool narrowRange, Type expressedType, 62 bool narrowRange, Type expressedType,
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Utils/ |
| H A D | QuantUtils.cpp | 270 bool isSigned, BoolAttr narrowRange) { in buildQTypeFromMinMax() argument 310 narrowRange.getValue(), convfunc.expressedType, isSigned); in buildQTypeFromMinMax() 318 max[0], narrowRange.getValue(), convfunc.expressedType, isSigned); in buildQTypeFromMinMax() 338 bool isSigned, BoolAttr narrowRange) { in buildQTypeAttrFromMinMax() argument 342 isSigned, narrowRange)); in buildQTypeAttrFromMinMax()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/Utils/ |
| H A D | QuantUtils.h | 60 BoolAttr narrowRange); 66 bool isSigned, BoolAttr narrowRange);
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Tosa/ |
| H A D | TosaTestPasses.cpp | 73 bool narrowRange = outputElementType.getStorageTypeMin() == 1; in matchAndRewrite() local 83 rewriter.getBoolAttr(narrowRange))); in matchAndRewrite()
|