@@ -401,8 +401,9 @@ class UniformQuantizedPerAxisType
401401};
402402
403403// / QuantileQuantizedType derives from UniformQuantizedType and adds to it a
404- // / look up table array of quantile values. The type of the data in the look up table is determined by
405- // / the quantileType member: supported quantileType types are integer/unsigned/hf8/bf8/f16/bf16/f32/f64.
404+ // / look up table array of quantile values. The type of the data in the look up
405+ // / table is determined by the quantileType member: supported quantileType types
406+ // / are integer/unsigned/hf8/bf8/f16/bf16/f32/f64.
406407// /
407408// / Syntax synopsis:
408409// / Per-layer, all parameters expressed:
@@ -441,12 +442,11 @@ class QuantileQuantizedType
441442 int64_t storageTypeMin, int64_t storageTypeMax);
442443
443444 // / Verifies construction invariants and issues errors/warnings.
444- static LogicalResult verifyInvariants (function_ref<InFlightDiagnostic()> emitError,
445- unsigned flags, Type storageType,
446- Type quantileType, Type expressedType,
447- ArrayRef<double> quantiles, double scale,
448- int64_t zeroPoint, int64_t storageTypeMin,
449- int64_t storageTypeMax);
445+ static LogicalResult
446+ verifyInvariants (function_ref<InFlightDiagnostic()> emitError, unsigned flags,
447+ Type storageType, Type quantileType, Type expressedType,
448+ ArrayRef<double > quantiles, double scale, int64_t zeroPoint,
449+ int64_t storageTypeMin, int64_t storageTypeMax);
450450
451451 static bool classof (mlir::Type type);
452452
@@ -468,8 +468,9 @@ class QuantileQuantizedType
468468};
469469
470470// / Represents per-axis QuantileQuantizedType (also known as per-channel
471- // / quantization). The type of the data in the look up table is determined by the
472- // / quantileType member: supported quantileType types are integer/unsigned/hf8/bf8/f16/bf16/f32/f64.
471+ // / quantization). The type of the data in the look up table is determined by
472+ // / the quantileType member: supported quantileType types are
473+ // / integer/unsigned/hf8/bf8/f16/bf16/f32/f64.
473474// /
474475// / Syntax synopsis:
475476// / Per-axis, all parameters expressed:
@@ -516,10 +517,10 @@ class QuantileQuantizedPerAxisType
516517 // / Verifies construction invariants and issues errors/warnings.
517518 static LogicalResult
518519 verifyInvariants (function_ref<InFlightDiagnostic()> emitError, unsigned flags,
519- Type storageType, Type quantileType, Type expressedType,
520- ArrayRef<double > quantiles, ArrayRef<double > scales,
521- ArrayRef<int64_t > zeroPoints, int32_t quantizedDimension,
522- int64_t storageTypeMin, int64_t storageTypeMax);
520+ Type storageType, Type quantileType, Type expressedType,
521+ ArrayRef<double > quantiles, ArrayRef<double > scales,
522+ ArrayRef<int64_t > zeroPoints, int32_t quantizedDimension,
523+ int64_t storageTypeMin, int64_t storageTypeMax);
523524
524525 static bool classof (mlir::Type type);
525526
0 commit comments