Home
last modified time | relevance | path

Searched refs:narrowRange (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DFakeQuantSupport.cpp15 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/
DFakeQuantSupport.h53 bool narrowRange, Type expressedType,
62 bool narrowRange, Type expressedType,
/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/
DQuantUtils.cpp282 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/
DQuantUtils.h60 BoolAttr narrowRange);
66 bool isSigned, BoolAttr narrowRange);
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlegalize_patterns.td40 // numBits $3 and narrowRange $4 to a QuantizedType.