Searched refs:inputQType (Results 1 – 3 of 3) sorted by relevance
111 auto inputQType = GET_UQTYPE(inputType); in buildConvOpQuantizationAttr() local121 assert(!((bool)inputQType ^ in buildConvOpQuantizationAttr()125 if (inputQType) { in buildConvOpQuantizationAttr()127 int64_t inputZp = inputQType.getZeroPoint(); in buildConvOpQuantizationAttr()196 auto inputQType = GET_UQTYPE(inputType); in buildUnaryOpQuantizationAttr() local200 assert(!((bool)inputQType ^ (bool)outputQType) && in buildUnaryOpQuantizationAttr()203 if (inputQType) { in buildUnaryOpQuantizationAttr()205 int64_t inputZp = inputQType.getZeroPoint(); in buildUnaryOpQuantizationAttr()228 auto inputQType = GET_UQTYPE(inputType); in buildPadOpQuantizationAttr() local230 if (inputQType) { in buildPadOpQuantizationAttr()[all …]
124 auto inputQType = in verifyConvOp() local130 if (inputQType != weightQType) in verifyConvOp()135 if ((inputQType && !op.quantization_info()) || in verifyConvOp()136 (!inputQType && op.quantization_info())) in verifyConvOp()224 auto inputQType = inputType.getElementType() in buildMatMulOpWithQuantInfo() local226 assert(inputQType && "Tensor must have quantized datatype!"); in buildMatMulOpWithQuantInfo()228 unsigned inputBits = inputQType.getStorageTypeIntegralWidth(); in buildMatMulOpWithQuantInfo()
134 auto inputQType = in matchAndRewrite() local142 if (!(inputQType && weightQType && outputQType)) in matchAndRewrite()154 double inputScale = inputQType.getScale(); in matchAndRewrite()