Searched refs:PyAttribute (Results 1 – 2 of 2) sorted by relevance
919 auto &attribute = it.second.cast<PyAttribute &>(); in create()1115 bool PyAttribute::operator==(const PyAttribute &other) { in operator ==()1119 py::object PyAttribute::getCapsule() { in getCapsule()1123 PyAttribute PyAttribute::createFromCapsule(py::object capsule) { in createFromCapsule()1127 return PyAttribute( in createFromCapsule()1359 PyAttribute dunderGetItemNamed(const std::string &name) { in dunderGetItemNamed()1366 return PyAttribute(operation->getContext(), attr); in dunderGetItemNamed()1380 void dunderSetItem(const std::string &name, PyAttribute attr) { in dunderSetItem()1429 template <typename DerivedTy, typename BaseTy = PyAttribute>1441 PyConcreteAttribute(PyAttribute &orig) in PyConcreteAttribute()[all …]
582 class PyAttribute : public BaseContextObject {584 PyAttribute(PyMlirContextRef contextRef, MlirAttribute attr) in PyAttribute() function586 bool operator==(const PyAttribute &other);597 static PyAttribute createFromCapsule(pybind11::object capsule);