Implement linalg lowering of diag_embed torch op - #2885
Conversation
ramiro050
left a comment
There was a problem hiding this comment.
Thanks! Looks mostly good, I just have a few comments
newling
left a comment
There was a problem hiding this comment.
I'm still trying to understand how the indexing works. Test coverage looks good, and the comments are useful. Nice one!
|
Not sure if you're manually making the lint fixes, but you can use formats your entire branch. If you don't have |
For some reason |
ramiro050
left a comment
There was a problem hiding this comment.
LGTM, I think you need to XFAIL your tests on the ONNX backend
Yes just pushed that. Got help from discord! |
This PR adds lowering of diag_embed to linalg dilect.
Tracked in nod-ai/AMD-SHARK-ModelDev#288