MLIR
21.0.0git
|
Casts object <-> MlirType. More...
#include "mlir/Bindings/Python/NanobindAdaptors.h"
Public Member Functions | |
bool | from_python (handle src, uint8_t flags, cleanup_list *cleanup) |
Static Public Member Functions | |
static handle | from_cpp (MlirType t, rv_policy, cleanup_list *cleanup) noexcept |
Casts object <-> MlirType.
Definition at line 307 of file NanobindAdaptors.h.
|
inlinestaticnoexcept |
Definition at line 314 of file NanobindAdaptors.h.
References MAKE_MLIR_PYTHON_QUALNAME, MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_MAYBE_DOWNCAST_ATTR, and mlirPythonTypeToCapsule().
|
inline |
Definition at line 309 of file NanobindAdaptors.h.
References nanobind::detail::mlirApiObjectToCapsule(), mlirPythonCapsuleToType(), and mlirTypeIsNull().