MLIR  20.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
mlir::PyShapedType Class Reference

Shaped Type Interface - ShapedType. More...

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

+ Inheritance diagram for mlir::PyShapedType:

Static Public Member Functions

static void bindDerived (ClassTy &c)
 
- Static Public Member Functions inherited from mlir::python::PyConcreteType< PyShapedType >
static MlirType castFrom (PyType &orig)
 
static void bind (nanobind::module_ &m)
 
static void bindDerived (ClassTy &m)
 Implemented by derived classes to add methods to the Python subclass. More...
 
- Static Public Member Functions inherited from mlir::python::PyType
static PyType createFromCapsule (nanobind::object capsule)
 Creates a PyType from the MlirType wrapped by a capsule. More...
 

Static Public Attributes

static const IsAFunctionTy isaFunction
 
static constexpr const char * pyClassName = "ShapedType"
 
- Static Public Attributes inherited from mlir::python::PyConcreteType< PyShapedType >
static constexpr GetTypeIDFunctionTy getTypeIdFunction
 

Additional Inherited Members

- Public Types inherited from mlir::python::PyConcreteType< PyShapedType >
using ClassTy = nanobind::class_< PyShapedType, PyType >
 
using IsAFunctionTy = bool(*)(MlirType)
 
using GetTypeIDFunctionTy = MlirTypeID(*)()
 
- Public Member Functions inherited from mlir::python::PyConcreteType< PyShapedType >
 PyConcreteType ()=default
 
 PyConcreteType (PyMlirContextRef contextRef, MlirType t)
 
 PyConcreteType (PyType &orig)
 
- Public Member Functions inherited from mlir::python::PyType
 PyType (PyMlirContextRef contextRef, MlirType type)
 
bool operator== (const PyType &other) const
 
 operator MlirType () const
 
MlirType get () const
 
nanobind::object getCapsule ()
 Gets a capsule wrapping the void* within the MlirType. More...
 
- Public Member Functions inherited from mlir::python::BaseContextObject
 BaseContextObject (PyMlirContextRef ref)
 
PyMlirContextRefgetContext ()
 Accesses the context reference. More...
 

Detailed Description

Shaped Type Interface - ShapedType.

Definition at line 17 of file IRTypes.h.

Member Function Documentation

◆ bindDerived()

void mlir::PyShapedType::bindDerived ( ClassTy c)
static

Member Data Documentation

◆ isaFunction

const mlir::PyShapedType::IsAFunctionTy mlir::PyShapedType::isaFunction
static
Initial value:
=
MLIR_CAPI_EXPORTED bool mlirTypeIsAShaped(MlirType type)
Checks whether the given type is a Shaped type.

Definition at line 19 of file IRTypes.h.

◆ pyClassName

constexpr const char* mlir::PyShapedType::pyClassName = "ShapedType"
staticconstexpr

Definition at line 20 of file IRTypes.h.


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