MLIR
21.0.0git
|
Casts object <-> MlirValue. 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 (MlirValue v, rv_policy, cleanup_list *cleanup) noexcept |
Casts object <-> MlirValue.
Definition at line 251 of file NanobindAdaptors.h.
|
inlinestaticnoexcept |
Definition at line 258 of file NanobindAdaptors.h.
References MAKE_MLIR_PYTHON_QUALNAME, MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_MAYBE_DOWNCAST_ATTR, and mlirPythonValueToCapsule().
|
inline |
Definition at line 253 of file NanobindAdaptors.h.
References nanobind::detail::mlirApiObjectToCapsule(), mlirPythonCapsuleToValue(), and mlirValueIsNull().