Home
last modified time | relevance | path

Searched refs:getZeroPoints (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeDetail.h187 ArrayRef<int64_t> getZeroPoints() const { return zeroPoints; } in getZeroPoints() function
196 lhs.getZeroPoints() == rhs.getZeroPoints() && in genericIsEqual()
246 ArrayRef<int64_t> getZeroPoints() const { in getZeroPoints() function
DQuantTypes.cpp350 ArrayRef<int64_t> UniformQuantizedPerAxisType::getZeroPoints() const { in getZeroPoints() function in UniformQuantizedPerAxisType
351 return getImpl()->getZeroPoints(); in getZeroPoints()
DTypeParser.cpp404 ArrayRef<int64_t> zeroPoints = type.getZeroPoints(); in printUniformQuantizedPerAxisType()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DQuantTypes.h350 ArrayRef<int64_t> getZeroPoints() const;
370 return llvm::all_of(getZeroPoints(), in isFixedPoint()
DUniformSupport.h178 zeroPoints(uniformType.getZeroPoints()), in UniformQuantizedPerAxisValueConverter()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc144 new_scales, qtype.getZeroPoints(), qtype.getQuantizedDimension(), in RescaleQuantizedType()
214 SmallVector<int64_t, 4> zero_points(qtype.getZeroPoints().begin(), in ResetAxisAndBroadcast()
215 qtype.getZeroPoints().end()); in ResetAxisAndBroadcast()
578 scales, q_type.getZeroPoints(), q_type.getQuantizedDimension(), in DownCastScale()
Dquantization_utils.h412 auto zero_points = aqtype.getZeroPoints(); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/
DQuantUtils.cpp133 weightZp = weightPerAxisQType.getZeroPoints().front(); in buildConvOpQuantizationAttr()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc886 per_axis.getZeroPoints(), per_axis.getQuantizedDimension(), in PostProcessFuncOp()
Dflatbuffer_export.cc817 builder_.CreateVector<int64_t>(qtype.getZeroPoints()), in BuildTensor()