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

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

Inheritance diagram for mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI16ArrayAttribute:

Static Public Attributes

static constexpr IsAFunctionTy isaFunction = mlirAttributeIsADenseI16Array
static constexpr auto getAttribute = mlirDenseI16ArrayGet
static constexpr auto getElement = mlirDenseI16ArrayGetElement
static constexpr const char * pyClassName = "DenseI16ArrayAttr"
static constexpr const char * pyIteratorName = "DenseI16ArrayIterator"
Static Public Attributes inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI16ArrayAttribute >
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static const MlirStringRef name

Additional Inherited Members

Public Types inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI16ArrayAttribute >
using ClassTy
using IsAFunctionTy
using GetTypeIDFunctionTy
using Base
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseArrayAttribute< int16_t, PyDenseI16ArrayAttribute >
int16_t getItem (intptr_t i)
 Get the element at the given index.
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI16ArrayAttribute >
 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< int16_t, PyDenseI16ArrayAttribute >
static void bindDerived (typename PyConcreteAttribute< PyDenseI16ArrayAttribute >::ClassTy &c)
 Bind the attribute class.
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseI16ArrayAttribute >
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 242 of file IRAttributes.h.

Member Data Documentation

◆ getAttribute

auto mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI16ArrayAttribute::getAttribute = mlirDenseI16ArrayGet
staticconstexpr

Definition at line 245 of file IRAttributes.h.

◆ getElement

auto mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI16ArrayAttribute::getElement = mlirDenseI16ArrayGetElement
staticconstexpr

Definition at line 246 of file IRAttributes.h.

◆ isaFunction

IsAFunctionTy mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI16ArrayAttribute::isaFunction = mlirAttributeIsADenseI16Array
staticconstexpr

◆ pyClassName

const char* mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI16ArrayAttribute::pyClassName = "DenseI16ArrayAttr"
staticconstexpr

Definition at line 247 of file IRAttributes.h.

◆ pyIteratorName

const char* mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseI16ArrayAttribute::pyIteratorName = "DenseI16ArrayIterator"
staticconstexpr

Definition at line 248 of file IRAttributes.h.


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