This operation a counterpart of memref.reshape.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D100971
[mlir] Add `tensor.reshape`. ClosedPublic Authored by pifon2a on Apr 21 2021, 9:50 AM.
Details
Summary This operation a counterpart of memref.reshape.
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, teijeong and 16 others. · View Herald TranscriptApr 21 2021, 9:50 AM nicolasvasilache added inline comments. This revision is now accepted and ready to land.Apr 22 2021, 5:31 AM This revision was landed with ongoing or failed builds.Apr 22 2021, 5:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 339592 mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
mlir/test/Dialect/Tensor/invalid.mlir
mlir/test/Dialect/Tensor/ops.mlir
|
Your IR examples and assembly format want
Either is fine with me but plz be consistent.