Home
last modified time | relevance | path

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

/external/pytorch/torch/csrc/utils/
Dtensor_numpy.h15 bool is_numpy_int(PyObject* obj);
Dtensor_numpy.cpp23 bool is_numpy_int(PyObject* obj) { in is_numpy_int() function
365 bool is_numpy_int(PyObject* obj) { in is_numpy_int() function
375 (is_numpy_int(obj) || PyArray_IsScalar(obj, Bool) || in is_numpy_scalar()
Dpython_numbers.h51 if (torch::utils::is_numpy_int(obj)) { in THPUtils_checkLong()