MLIR
18.0.0git
|
Casts object <-> MlirAttribute. More...
#include "mlir/Bindings/Python/PybindAdaptors.h"
Public Member Functions | |
PYBIND11_TYPE_CASTER (MlirAttribute, _("MlirAttribute")) | |
bool | load (handle src, bool) |
Static Public Member Functions | |
static handle | cast (MlirAttribute v, return_value_policy, handle) |
Casts object <-> MlirAttribute.
Definition at line 87 of file PybindAdaptors.h.
|
inlinestatic |
Definition at line 94 of file PybindAdaptors.h.
References MAKE_MLIR_PYTHON_QUALNAME, MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_MAYBE_DOWNCAST_ATTR, and mlirPythonAttributeToCapsule().
|
inline |
Definition at line 89 of file PybindAdaptors.h.
References pybind11::detail::mlirApiObjectToCapsule(), mlirAttributeIsNull(), and mlirPythonCapsuleToAttribute().
pybind11::detail::type_caster< MlirAttribute >::PYBIND11_TYPE_CASTER | ( | MlirAttribute | , |
_("MlirAttribute") | |||
) |