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

Function IsPyDouble

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

Source from the content-addressed store, hash-verified

53}
54
55bool IsPyDouble(PyObject* obj) {
56 return PyIsInstance(obj, &PyDoubleArrType_Type); // NumPy double type.
57}
58
59bool IsNumpyHalf(PyObject* obj) {
60 return PyIsInstance(obj, &PyHalfArrType_Type);

Callers 1

InferShapeAndTypeFunction · 0.85

Calls 1

PyIsInstanceFunction · 0.85

Tested by

no test coverage detected