MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / PyIsInstance

Function PyIsInstance

tensorflow/python/lib/core/py_seq_tensor.cc:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31namespace {
32
33inline bool PyIsInstance(PyObject* obj, PyTypeObject* t) {
34 return PyObject_IsInstance(obj, reinterpret_cast<PyObject*>(t));
35}
36
37inline PyObject* PyType(PyObject* obj) {
38 return reinterpret_cast<PyObject*>(obj->ob_type);

Callers 11

IsPyIntFunction · 0.85
IsPyDoubleFunction · 0.85
IsNumpyHalfFunction · 0.85
IsPyFloatFunction · 0.85
InferShapeAndTypeFunction · 0.85
ConvertOneInt64Function · 0.85
ConvertOneUint64Function · 0.85
ConvertOneInt32Function · 0.85
ConvertOneFloatFunction · 0.85
ConvertOneComplexFunction · 0.85
ConvertOneBoolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected