Searched refs:quantAttr (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/mlir/lib/Dialect/Tosa/IR/ |
D | TosaOps.cpp | 159 auto quantAttr = buildConvOpQuantizationAttr(builder, input, weight); in buildConvOpWithQuantInfo() local 160 if (quantAttr) { in buildConvOpWithQuantInfo() 161 result.addAttribute("quantization_info", quantAttr); in buildConvOpWithQuantInfo() 180 auto quantAttr = ::buildConvOpQuantizationAttr(builder, input, weight); in buildTransConvOpWithQuantInfo() local 182 if (quantAttr) { in buildTransConvOpWithQuantInfo() 183 result.addAttribute("quantization_info", quantAttr); in buildTransConvOpWithQuantInfo() 198 auto quantAttr = ::buildConvOpQuantizationAttr(builder, input, weight); in buildFCOpWithQuantInfo() local 199 if (quantAttr) { in buildFCOpWithQuantInfo() 200 result.addAttribute("quantization_info", quantAttr); in buildFCOpWithQuantInfo() 216 auto quantAttr = ::buildMatMulOpQuantizationAttr(builder, a, b); in buildMatMulOpWithQuantInfo() local [all …]
|
/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/ |
D | QuantUtils.cpp | 136 auto quantAttr = tosa::ConvOpQuantizationAttr::get( in buildConvOpQuantizationAttr() local 140 return quantAttr; in buildConvOpQuantizationAttr() 172 auto quantAttr = tosa::MatMulOpQuantizationAttr::get( in buildMatMulOpQuantizationAttr() local 176 return quantAttr; in buildMatMulOpQuantizationAttr() 208 auto quantAttr = tosa::UnaryOpQuantizationAttr::get( in buildUnaryOpQuantizationAttr() local 212 return quantAttr; in buildUnaryOpQuantizationAttr() 234 auto quantAttr = tosa::PadOpQuantizationAttr::get( in buildPadOpQuantizationAttr() local 237 return quantAttr; in buildPadOpQuantizationAttr()
|