Searched refs:narrowRange (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/mlir/lib/Dialect/Quant/Utils/ |
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()
|
/external/llvm-project/mlir/include/mlir/Dialect/Quant/ |
D | FakeQuantSupport.h | 53 bool narrowRange, Type expressedType, 62 bool narrowRange, Type expressedType,
|
/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/ |
D | QuantUtils.cpp | 282 bool isSigned, BoolAttr narrowRange) { in buildQTypeFromMinMax() argument 322 narrowRange.getValue(), convfunc.expressedType, isSigned); in buildQTypeFromMinMax() 330 max[0], narrowRange.getValue(), convfunc.expressedType, isSigned); in buildQTypeFromMinMax() 350 bool isSigned, BoolAttr narrowRange) { in buildQTypeAttrFromMinMax() argument 354 isSigned, narrowRange)); in buildQTypeAttrFromMinMax()
|
/external/llvm-project/mlir/include/mlir/Dialect/Tosa/Utils/ |
D | QuantUtils.h | 60 BoolAttr narrowRange); 66 bool isSigned, BoolAttr narrowRange);
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | legalize_patterns.td | 40 // numBits $3 and narrowRange $4 to a QuantizedType.
|