- This isn't exclusive with other mechanisms for more ODS centric op definitions, but based on discussions, we feel that we will always benefit from a python escape hatch, and that is the most natural way to write things that don't fit the mold.
- I suspect this facility needs further tweaking, and once it settles, I'll document it and add more tests.
- Added extensions for linalg, since it is unusable without them and continued to evolve my e2e example.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Bindings/Python/mlir/dialects/_linalg.py | ||
---|---|---|
22–23 | Isn't there a trait? Not sure how to expose traits to Python though |
mlir/lib/Bindings/Python/mlir/dialects/_linalg.py | ||
---|---|---|
22–23 | I'm sure there is a way. I'm using TODOs guide the next step work on these things to keep them more bite-sized. |
Isn't there a trait? Not sure how to expose traits to Python though