This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Small refactor to the functionality of Conv2D and Fully_connected to add the bias at the end of the convolution
ClosedPublic

Authored by NatashaKnk on Aug 25 2021, 6:48 PM.

Details

Summary

Made to adjust for a modification to the tiling algorithm

Diff Detail

Event Timeline

NatashaKnk created this revision.Aug 25 2021, 6:48 PM
NatashaKnk requested review of this revision.Aug 25 2021, 6:48 PM
rsuderman added inline comments.Aug 26 2021, 10:56 AM
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
991–1001

I would probably move the declarations to where they are used. It doesn't use fall through so it seems unnecessary.

mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
1007

Can you leave this named as transpose? It makes it clearer what the intention is.

1034

Same thing here.

rsuderman requested changes to this revision.Aug 26 2021, 10:58 AM
This revision now requires changes to proceed.Aug 26 2021, 10:58 AM

Fixed test names, removed unneeded declarations

NatashaKnk marked 3 inline comments as done.Aug 30 2021, 11:00 AM
rsuderman accepted this revision.Aug 30 2021, 1:18 PM
This revision is now accepted and ready to land.Aug 30 2021, 1:18 PM