Includes a version of a quantized conv2D operations with a lowering from TOSA
to linalg with corresponding test. We keep the quantized and quantized variants
as separate named ops to avoid the additional operations for non-quantized
convolutions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
540 ms | x64 windows > Clang.Modules::string_names.cpp |
Event Timeline
Comment Actions
We should add a roundtrip test when adding a new op. You can add it to mlir/test/Dialect/Linalg/named-ops.mlir
mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml | ||
---|---|---|
1550 | Delete the blank line? | |
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | ||
944 | I think the order is strideAttr and then dilationAttr. This is an issue in TC ops. The order attributes of TC ops is alphabetical, but we really should make it be the order of declaration. Hopefully, it is fixed in yaml ops. | |
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir | ||
1187–1188 | We can use CHECK-DAG to prevent such change in the future. |
Delete the blank line?