Searched refs:is_numpy_int (Results 1 – 3 of 3) sorted by relevance
23 bool is_numpy_int(PyObject* obj) { in is_numpy_int() function365 bool is_numpy_int(PyObject* obj) { in is_numpy_int() function375 (is_numpy_int(obj) || PyArray_IsScalar(obj, Bool) || in is_numpy_scalar()
15 bool is_numpy_int(PyObject* obj);
51 if (torch::utils::is_numpy_int(obj)) { in THPUtils_checkLong()