@@ -157,7 +157,7 @@ static Type parseAnyType(DialectAsmParser &parser) {
157157// / Checks if the given scale value is within the valid range of the expressed
158158// / type. The `expressedType` argument is the floating-point type used for
159159// / expressing the quantized values, and `scale` is the double value to check.
160- LogicalResult
160+ static LogicalResult
161161isScaleInExpressedTypeRange (function_ref<InFlightDiagnostic()> emitError,
162162 Type expressedType, double scale) {
163163 auto floatType = cast<FloatType>(expressedType);
@@ -579,10 +579,10 @@ static void printUniformQuantizedPerAxisType(UniformQuantizedPerAxisType type,
579579// / would print:
580580// /
581581// / {{1.0, 2.0}, {3.0:1, 4.0:9}}
582- void printDenseQuantizationParameters (ArrayRef<APFloat> scales,
583- ArrayRef<APInt> zeroPoints,
584- ArrayRef<int64_t > shape,
585- DialectAsmPrinter &out) {
582+ static void printDenseQuantizationParameters (ArrayRef<APFloat> scales,
583+ ArrayRef<APInt> zeroPoints,
584+ ArrayRef<int64_t > shape,
585+ DialectAsmPrinter &out) {
586586 int64_t rank = shape.size ();
587587 SmallVector<unsigned , 4 > counter (rank, 0 );
588588 unsigned openBrackets = 0 ;
0 commit comments