Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
55
bool IsPyDouble(PyObject* obj) {
56
return PyIsInstance(obj, &PyDoubleArrType_Type); // NumPy double type.
57
}
58
59
bool IsNumpyHalf(PyObject* obj) {
60
return PyIsInstance(obj, &PyHalfArrType_Type);
Callers
1
InferShapeAndType
Function · 0.85
Calls
1
PyIsInstance
Function · 0.85
Tested by
no test coverage detected