MLIR 22.0.0git
mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI32ArrayAttribute Struct Reference

#include "mlir/Bindings/Python/IRAttributes.h"

Inheritance diagram for mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI32ArrayAttribute:

Static Public Attributes

static constexpr IsAFunctionTy isaFunction = mlirAttributeIsADenseI32Array
static constexpr auto getAttribute = mlirDenseI32ArrayGet
static constexpr auto getElement = mlirDenseI32ArrayGetElement
static constexpr const char * pyClassName = "DenseI32ArrayAttr"
static constexpr const char * pyIteratorName = "DenseI32ArrayIterator"
Static Public Attributes inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI32ArrayAttribute >
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static const MlirStringRef name

Additional Inherited Members

Public Types inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI32ArrayAttribute >
using ClassTy
using IsAFunctionTy
using GetTypeIDFunctionTy
using Base
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseArrayAttribute< int32_t, PyDenseI32ArrayAttribute >
int32_t getItem (intptr_t i)
 Get the element at the given index.
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI32ArrayAttribute >
 PyConcreteAttribute ()=default
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute
 PyAttribute (PyMlirContextRef contextRef, MlirAttribute attr)
bool operator== (const PyAttribute &other) const
 operator MlirAttribute () const
MlirAttribute get () const
nanobind::object getCapsule ()
 Gets a capsule wrapping the void* within the MlirAttribute.
nanobind::typed< nanobind::object, PyAttributemaybeDownCast ()
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::BaseContextObject
 BaseContextObject (PyMlirContextRef ref)
PyMlirContextRefgetContext ()
 Accesses the context reference.
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseArrayAttribute< int32_t, PyDenseI32ArrayAttribute >
static void bindDerived (typename PyConcreteAttribute< PyDenseI32ArrayAttribute >::ClassTy &c)
 Bind the attribute class.
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI32ArrayAttribute >
static MlirAttribute castFrom (PyAttribute &orig)
static void bind (nanobind::module_ &m, PyType_Slot *slots=nullptr)
static void bindDerived (ClassTy &m)
 Implemented by derived classes to add methods to the Python subclass.
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute
static PyAttribute createFromCapsule (const nanobind::object &capsule)
 Creates a PyAttribute from the MlirAttribute wrapped by a capsule.

Detailed Description

Definition at line 251 of file IRAttributes.h.

Member Data Documentation

◆ getAttribute

auto mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI32ArrayAttribute::getAttribute = mlirDenseI32ArrayGet
staticconstexpr

Definition at line 254 of file IRAttributes.h.

◆ getElement

auto mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI32ArrayAttribute::getElement = mlirDenseI32ArrayGetElement
staticconstexpr

Definition at line 255 of file IRAttributes.h.

◆ isaFunction

IsAFunctionTy mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI32ArrayAttribute::isaFunction = mlirAttributeIsADenseI32Array
staticconstexpr

◆ pyClassName

const char* mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI32ArrayAttribute::pyClassName = "DenseI32ArrayAttr"
staticconstexpr

Definition at line 256 of file IRAttributes.h.

◆ pyIteratorName

const char* mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI32ArrayAttribute::pyIteratorName = "DenseI32ArrayIterator"
staticconstexpr

Definition at line 257 of file IRAttributes.h.


The documentation for this struct was generated from the following file: