Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Utils/
H A DQuantUtils.cpp127 auto weightPerAxisQType = weightType.getElementType() in buildConvOpQuantizationAttr() local
131 assert(!((bool)weightPerTensorQType && (bool)weightPerAxisQType) && in buildConvOpQuantizationAttr()
136 ((bool)weightPerTensorQType || (bool)weightPerAxisQType)) && in buildConvOpQuantizationAttr()
145 } else if (weightPerAxisQType) { in buildConvOpQuantizationAttr()
146 weightZp = weightPerAxisQType.getZeroPoints().front(); in buildConvOpQuantizationAttr()