This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Resubmit add tosa.conv2d as tosa.fully_connected canonicalization
ClosedPublic

Authored by rsuderman on Dec 6 2021, 11:15 AM.

Details

Summary

Fixed the tosa.conv2d to tosa.fully_connected canonicalization for incorrect
output channels. Included uptes to tests to include checks for the result
shapes during canonicalization.

This allows conv2d to transform to the simpler fully_connected operation.

Diff Detail

Event Timeline

rsuderman created this revision.Dec 6 2021, 11:15 AM
rsuderman requested review of this revision.Dec 6 2021, 11:15 AM
rsuderman updated this revision to Diff 392136.Dec 6 2021, 11:23 AM

Changed to use result type after the canonicalization.

mravishankar accepted this revision.Dec 6 2021, 3:25 PM

Thanks!

This revision is now accepted and ready to land.Dec 6 2021, 3:25 PM
aardeb added a subscriber: aardeb.Dec 15 2021, 1:16 AM
aardeb removed a subscriber: aardeb.