MLIR  19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::python::PyShapedTypeComponents Class Reference

Wrapper around an shaped type components. More...

Public Member Functions

 PyShapedTypeComponents (MlirType elementType)
 
 PyShapedTypeComponents (py::list shape, MlirType elementType)
 
 PyShapedTypeComponents (py::list shape, MlirType elementType, MlirAttribute attribute)
 
 PyShapedTypeComponents (PyShapedTypeComponents &)=delete
 
 PyShapedTypeComponents (PyShapedTypeComponents &&other) noexcept
 
pybind11::object getCapsule ()
 

Static Public Member Functions

static void bind (py::module &m)
 
static PyShapedTypeComponents createFromCapsule (pybind11::object capsule)
 

Detailed Description

Wrapper around an shaped type components.

Definition at line 319 of file IRInterfaces.cpp.

Constructor & Destructor Documentation

◆ PyShapedTypeComponents() [1/5]

mlir::python::PyShapedTypeComponents::PyShapedTypeComponents ( MlirType  elementType)
inline

Definition at line 321 of file IRInterfaces.cpp.

Referenced by bind().

◆ PyShapedTypeComponents() [2/5]

mlir::python::PyShapedTypeComponents::PyShapedTypeComponents ( py::list  shape,
MlirType  elementType 
)
inline

Definition at line 322 of file IRInterfaces.cpp.

◆ PyShapedTypeComponents() [3/5]

mlir::python::PyShapedTypeComponents::PyShapedTypeComponents ( py::list  shape,
MlirType  elementType,
MlirAttribute  attribute 
)
inline

Definition at line 324 of file IRInterfaces.cpp.

◆ PyShapedTypeComponents() [4/5]

mlir::python::PyShapedTypeComponents::PyShapedTypeComponents ( PyShapedTypeComponents )
delete

◆ PyShapedTypeComponents() [5/5]

mlir::python::PyShapedTypeComponents::PyShapedTypeComponents ( PyShapedTypeComponents &&  other)
inlinenoexcept

Definition at line 329 of file IRInterfaces.cpp.

Member Function Documentation

◆ bind()

static void mlir::python::PyShapedTypeComponents::bind ( py::module &  m)
inlinestatic

Definition at line 333 of file IRInterfaces.cpp.

References PyShapedTypeComponents().

Referenced by mlir::python::populateIRInterfaces().

◆ createFromCapsule()

static PyShapedTypeComponents mlir::python::PyShapedTypeComponents::createFromCapsule ( pybind11::object  capsule)
static

◆ getCapsule()

pybind11::object mlir::python::PyShapedTypeComponents::getCapsule ( )

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