Home
last modified time | relevance | path

Searched refs:PyArrayAttribute (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRAttributes.cpp113 class PyArrayAttribute : public PyConcreteAttribute<PyArrayAttribute> { class
160 return PyArrayAttribute(context->getRef(), attr); in bindDerived()
165 [](PyArrayAttribute &arr, intptr_t i) { in bindDerived()
171 [](const PyArrayAttribute &arr) { in bindDerived()
174 .def("__iter__", [](const PyArrayAttribute &arr) { in bindDerived()
177 c.def("__add__", [](PyArrayAttribute arr, py::list extras) { in bindDerived()
187 return PyArrayAttribute(arr.getContext(), arrayAttr); in bindDerived()
894 PyArrayAttribute::bind(m); in populateIRAttributes()
895 PyArrayAttribute::PyArrayAttributeIterator::bind(m); in populateIRAttributes()