Added shape inference for: matmul, fully connected, argmax, scatter, gather, transpose, slice,
pad, table, concat, and reduction operations.
Also updated reshape for more aggressive reshape inference and renamed shape inference test.
Paths
| Differential D105383
[mlir][tosa] Added more shape inference for tosa ops ClosedPublic Authored by rsuderman on Jul 2 2021, 5:01 PM.
Details Summary Added shape inference for: matmul, fully connected, argmax, scatter, gather, transpose, slice, Also updated reshape for more aggressive reshape inference and renamed shape inference test.
Diff Detail
Event TimelineHerald added subscribers: armkevincheng, jsmolens, eric-k256 and 19 others. · View Herald Transcript Comment Actions Will let @sjarus review this as the detailed shape transfer function review is best done by someone deeply aware of the spec. This revision is now accepted and ready to land.Jul 8 2021, 5:40 PM Closed by commit rG5a4e77601015: [mlir][tosa] Added more shape inference for tosa ops (authored by rsuderman). · Explain WhyJul 12 2021, 10:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 357976 mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
mlir/test/Dialect/Tosa/tosa_infer_shapes.mlir
|