This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Add tosa.max_pool2d as no-op canonicalization
ClosedPublic

Authored by not-jenni on Dec 16 2021, 2:05 PM.

Details

Summary

When the input and output of a pool2d op are both 1x1, it can be canonicalized to a no-op

Diff Detail

Event Timeline

not-jenni created this revision.Dec 16 2021, 2:05 PM
not-jenni requested review of this revision.Dec 16 2021, 2:05 PM
not-jenni added a subscriber: KoolJBlack.
rsuderman accepted this revision.Dec 16 2021, 3:20 PM
This revision is now accepted and ready to land.Dec 16 2021, 3:20 PM
This revision was automatically updated to reflect the committed changes.