Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/
DQuantUtils.cpp113 auto weightPerAxisQType = weightType.getElementType() in buildConvOpQuantizationAttr() local
117 assert(!((bool)weightPerTensorQType && (bool)weightPerAxisQType) && in buildConvOpQuantizationAttr()
122 ((bool)weightPerTensorQType || (bool)weightPerAxisQType)) && in buildConvOpQuantizationAttr()
132 } else if (weightPerAxisQType) { in buildConvOpQuantizationAttr()
133 weightZp = weightPerAxisQType.getZeroPoints().front(); in buildConvOpQuantizationAttr()