Home
last modified time | relevance | path

Searched refs:zeroPoints (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeDetail.h163 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints, in KeyTy()
167 scales(scales), zeroPoints(zeroPoints), in KeyTy()
180 ArrayRef<int64_t> zeroPoints; member
187 ArrayRef<int64_t> getZeroPoints() const { return zeroPoints; } in getZeroPoints()
212 llvm::hash_combine_range(zeroPoints.begin(), zeroPoints.end()), in getHashValue()
220 ArrayRef<int64_t> zeroPoints) in UniformQuantizedPerAxisTypeStorage()
223 scaleElements(scales.data()), zeroPointElements(zeroPoints.data()), in UniformQuantizedPerAxisTypeStorage()
235 ArrayRef<int64_t> zeroPoints = allocator.copyInto(key.zeroPoints); in construct() local
237 UniformQuantizedPerAxisTypeStorage(key, scales, zeroPoints); in construct()
DTypeParser.cpp203 SmallVector<int64_t, 1> zeroPoints; in parseUniformType() local
255 zeroPoints.resize(zeroPoints.size() + 1); in parseUniformType()
256 if (parseQuantParams(parser, scales.back(), zeroPoints.back())) { in parseUniformType()
280 ArrayRef<int64_t> zeroPointsRef(zeroPoints.begin(), zeroPoints.end()); in parseUniformType()
287 scales.front(), zeroPoints.front(), in parseUniformType()
404 ArrayRef<int64_t> zeroPoints = type.getZeroPoints(); in printUniformQuantizedPerAxisType() local
409 printQuantParams(scales[index], zeroPoints[index], out); in printUniformQuantizedPerAxisType()
DQuantTypes.cpp292 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints, in get() argument
296 scales, zeroPoints, quantizedDimension, storageTypeMin, in get()
302 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints, in getChecked() argument
306 zeroPoints, quantizedDimension, storageTypeMin, in getChecked()
312 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints, in verifyConstructionInvariants() argument
333 if (scales.size() != zeroPoints.size()) in verifyConstructionInvariants()
335 << scales.size() << ", " << zeroPoints.size(); in verifyConstructionInvariants()
/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DFakeQuantSupport.cpp161 SmallVector<int64_t, 4> zeroPoints; in fakeQuantAttrsToType() local
163 zeroPoints.reserve(axis_size); in fakeQuantAttrsToType()
169 zeroPoints.push_back(qmin); in fakeQuantAttrsToType()
177 zeroPoints.push_back(nudgedZeroPoint); in fakeQuantAttrsToType()
182 flags, storageType, expressedType, scales, zeroPoints, quantizedDimension, in fakeQuantAttrsToType()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h178 zeroPoints(uniformType.getZeroPoints()), in UniformQuantizedPerAxisValueConverter()
186 assert(scales.size() == zeroPoints.size()); in UniformQuantizedPerAxisValueConverter()
200 UniformQuantizedValueConverter converter(scales[index], zeroPoints[index], in getPerChunkConverter()
207 const ArrayRef<int64_t> zeroPoints; variable
DQuantTypes.h321 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints,
329 ArrayRef<double> scales, ArrayRef<int64_t> zeroPoints,
337 ArrayRef<int64_t> zeroPoints,