tosa.matmul is a batched matmul, update the lowering for linalg
with the tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | ||
---|---|---|
1022 | Disclaimer: I'm not familiar with LinAlg . I don't quite understand how the batch size is defined here. Is that being assumed 1 ? |
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | ||
---|---|---|
1022 | Batch size is inteferred from the shape dimensions of the input/output. Batch matmul exactly maps to the semantics of tosa.matmul so it is a trivial conversion. |
Disclaimer: I'm not familiar with LinAlg .
I don't quite understand how the batch size is defined here. Is that being assumed 1 ?