Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Bindings/Python/
DIRModules.cpp294 argTypes.push_back(pyArg.cast<PyType &>()); in appendBlock()
872 llvm::Optional<std::vector<PyType *>> results, in create()
898 for (PyType *result : *results) { in create()
1144 bool PyType::operator==(const PyType &other) { in operator ==()
1148 py::object PyType::getCapsule() { in getCapsule()
1152 PyType PyType::createFromCapsule(py::object capsule) { in createFromCapsule()
1156 return PyType(PyMlirContext::forContext(mlirTypeGetContext(rawType)), in createFromCapsule()
1222 c.def("set_type", [](PyBlockArgument &self, PyType type) { in bindDerived()
1474 [](PyType &type, double value, DefaultingPyLocation loc) { in bindDerived()
1525 [](PyType &type, int64_t value) { in bindDerived()
[all …]
DIRModules.h30 class PyType; variable
457 llvm::Optional<std::vector<PyType *>> results,
628 class PyType : public BaseContextObject {
630 PyType(PyMlirContextRef contextRef, MlirType type) in PyType() function
632 bool operator==(const PyType &other);
643 static PyType createFromCapsule(pybind11::object capsule);
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc43 inline PyObject* PyType(PyObject* obj) { in PyType() function
206 PyRepr(PyType(obj)), ") to a Tensor."); in InferShapeAndType()
617 PyRepr(PyType(obj)), in IsPyDimension()