- Makes the wrapped functions of the @linalg_structured_op decorator callable such that they emit IR imperatively when invoked.
- There are numerous TODOs that I will keep working through to achieve generality.
- Will true up exception handling tests as the feature progresses (for things that are actually errors once everything is implemented).
- Includes the addition of an isinstance method on concrete types in the Python API.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Nice!
mlir/test/Bindings/Python/dialects/linalg/opdsl/emit_structured_generic.py | ||
---|---|---|
14 | also, extending with these key attributes when you do, will be useful: https://github.com/google/iree/blob/main/experimental/ModelBuilder/ModelBuilder.h#L105 |
mlir/test/Bindings/Python/dialects/linalg/opdsl/emit_structured_generic.py | ||
---|---|---|
14 | Thanks, took a note for myself. |
also, extending with these key attributes when you do, will be useful: https://github.com/google/iree/blob/main/experimental/ModelBuilder/ModelBuilder.h#L105