Fusing into a reduction is only valid if doing so does not erase information on a reduction dimensions size.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir | ||
---|---|---|
926 | Ah yes, I missed it among the rest of the IR. Do you mind putting those together at the top of the function block with a comment and a TODO: extend elementwise fusion to handle such cases ? Thanks! |
mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir | ||
---|---|---|
926 | To close the loop on this as we discussed offlie: We know how to express and fuse this, it is similar to the shape-carrying operand we use in maxpooling: it is just NYI atm. |
the test name is confusing, how does it relate to fusion?