[Mlir-commits] [mlir] [mlir][quant] Fix quantization example. (PR #151518)
Matthias Springer
llvmlistbot at llvm.org
Fri Aug 1 13:12:26 PDT 2025
================
@@ -143,9 +143,11 @@ class QuantizedType : public Type {
/// Casts from a type based on the storageType to a corresponding type based
/// on this type (returns nullptr if the cast is not valid).
/// Examples:
+ /// `candidate type` -> `return type`
/// i8 -> !quant.uniform<i8:f32, 1.0>
/// tensor<4xi8> -> tensor<4x!quant.uniform<i8:f32, 1.0}>>
/// vector<4xi8> -> vector<4x!quant.uniform<i8:f32, 1.0>>
+ //. It is assumed above that this type's quantization is `<i8:f32, 1.0>`.
----------------
matthias-springer wrote:
extra dot
https://github.com/llvm/llvm-project/pull/151518
More information about the Mlir-commits
mailing list