MLIR
20.0.0git
|
Shaped Type Interface - ShapedType. More...
#include "mlir/Bindings/Python/IRTypes.h"
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 (pybind11::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 (pybind11::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 = pybind11::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 |
pybind11::object | getCapsule () |
Gets a capsule wrapping the void* within the MlirType. More... | |
Public Member Functions inherited from mlir::python::BaseContextObject | |
BaseContextObject (PyMlirContextRef ref) | |
PyMlirContextRef & | getContext () |
Accesses the context reference. More... | |
|
static |
Definition at line 510 of file IRTypes.cpp.
References mlirShapedTypeGetDimSize(), mlirShapedTypeGetDynamicSize(), mlirShapedTypeGetDynamicStrideOrOffset(), mlirShapedTypeGetElementType(), mlirShapedTypeGetRank(), mlirShapedTypeHasRank(), mlirShapedTypeHasStaticShape(), mlirShapedTypeIsDynamicDim(), mlirShapedTypeIsDynamicSize(), and mlirShapedTypeIsDynamicStrideOrOffset().
|
static |
|
staticconstexpr |