Searched refs:PyIntOrPyLongToLong (Results 1 – 3 of 3) sorted by relevance
280 dimensions[i] = PyIntOrPyLongToLong(PyTuple_GetItem(py_dimensions, i)); in XlaShapeFromPyShape()287 PyIntOrPyLongToLong(PyTuple_GetItem(py_minor_to_major, i)); in XlaShapeFromPyShape()338 long value = PyIntOrPyLongToLong(attr); // NOLINT in GetAttrAsInt32()539 long PyIntOrPyLongToLong(PyObject* o) { // NOLINT in PyIntOrPyLongToLong() function575 const int64 value = numpy::PyIntOrPyLongToLong(fo); in GetIntAttr()669 const int64 dimension = numpy::PyIntOrPyLongToLong(item); in HandleRepeatedInt64Attribute()
187 temps[i] = numpy::PyIntOrPyLongToLong(py_int);372 const long value = numpy::PyIntOrPyLongToLong(py_int);429 const int64 first_value = numpy::PyIntOrPyLongToLong(first_pyint);436 const int64 second_value = numpy::PyIntOrPyLongToLong(second_pyint);
133 long PyIntOrPyLongToLong(PyObject* o); // NOLINT