This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Add tosa.depthwise_conv2d as tosa.mul canonicalization
ClosedPublic

Authored by not-jenni on Dec 6 2021, 4:55 PM.

Details

Summary

For a 1x1 weight and stride of 1, the input/weight can be reshaped and multiplied elementwise then reshaped back

Diff Detail

Event Timeline

not-jenni created this revision.Dec 6 2021, 4:55 PM
not-jenni requested review of this revision.Dec 6 2021, 4:55 PM
KoolJBlack accepted this revision.Dec 6 2021, 4:58 PM
This revision is now accepted and ready to land.Dec 6 2021, 4:58 PM
rsuderman accepted this revision.Dec 6 2021, 5:13 PM