Lines Matching refs:bindings

19     Enables building the Python bindings. Defaults to `OFF`.
24 determining header/link flags for the Python bindings. On systems with
74 There are likely two primary use cases for the MLIR python bindings:
85 In order to support use case \#2, the Python bindings are organized into
110 However, in order to modularize and make the Python bindings easier to
247 The bindings rely on Python
259 at the C++ level. In Python bindings, the MLIR context is also a Python context
277 cannot be extracted from any argument, the bindings API expects the (keyword)
279 looked up from an implicit stack of contexts maintained by the bindings in the
367 Inspecting the IR is one of the primary tasks the Python bindings are designed
455 Block and region belong to the parent operation in Python bindings and keep it
598 Only a subset of operation interfaces are currently provided in Python bindings.
599 Attribute and type interfaces are not yet available in Python bindings.
603 Python bindings also support IR creation and manipulation.
748 In general, for the core parts of MLIR, the Python bindings should be largely
817 them to appropriate `__dunder__` methods and iterator wrappers in the bindings.
873 The MLIR Python bindings integrate with the tablegen-based ODS system for
886 invoking `mlir-tblgen` on a python-bindings specific tablegen wrapper that
904 mlir-tblgen -gen-python-op-bindings -bind-dialect={DIALECT_NAMESPACE} \
917 When the python bindings need to locate a wrapper module, they consult the
999 `_{DIALECT_NAMESPACE}_ops_gen.py` for each dialect with Python bindings. It is
1078 ## Providing Python bindings for a dialect
1080 Python bindings are designed to support MLIR’s open dialect ecosystem. A dialect
1082 the rest of the bindings. For dialects containing only operations, it is
1098 For operations defined in ODS, `mlir-tblgen -gen-python-op-bindings
1129 bindings are to be included in a separate pybind11 module. The utilities also
1132 binding implementations. The methods and properties provided by the bindings
1135 The attribute and type bindings for a dialect can be located in
1170 utilities to connect to the rest of Python API. The bindings can be located in a