Lines Matching refs:tosa
17 using namespace mlir::tosa;
77 void mlir::tosa::computeMultiplierAndShift(double scale, int32_t &multiplier, in computeMultiplierAndShift()
102 mlir::tosa::buildConvOpQuantizationAttr(OpBuilder &builder, Value input, in buildConvOpQuantizationAttr()
136 auto quantAttr = tosa::ConvOpQuantizationAttr::get( in buildConvOpQuantizationAttr()
151 mlir::tosa::buildMatMulOpQuantizationAttr(OpBuilder &builder, Value a, in buildMatMulOpQuantizationAttr()
172 auto quantAttr = tosa::MatMulOpQuantizationAttr::get( in buildMatMulOpQuantizationAttr()
187 mlir::tosa::buildUnaryOpQuantizationAttr(OpBuilder &builder, Value input, in buildUnaryOpQuantizationAttr()
208 auto quantAttr = tosa::UnaryOpQuantizationAttr::get( in buildUnaryOpQuantizationAttr()
220 PadOpQuantizationAttr mlir::tosa::buildPadOpQuantizationAttr(OpBuilder &builder, in buildPadOpQuantizationAttr()
234 auto quantAttr = tosa::PadOpQuantizationAttr::get( in buildPadOpQuantizationAttr()
245 Type mlir::tosa::buildConvOpResultTypeInfo(OpBuilder &builder, Type outputType, in buildConvOpResultTypeInfo()
279 Type mlir::tosa::buildQTypeFromMinMax(OpBuilder builder, Type inputDType, in buildQTypeFromMinMax()
347 mlir::tosa::buildQTypeAttrFromMinMax(OpBuilder builder, Type inputDtype, in buildQTypeAttrFromMinMax()