Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/python/
Dnumpy_bridge.cc280 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() function
575 const int64 value = numpy::PyIntOrPyLongToLong(fo); in GetIntAttr()
669 const int64 dimension = numpy::PyIntOrPyLongToLong(item); in HandleRepeatedInt64Attribute()
Dxla_data.i187 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);
Dnumpy_bridge.h133 long PyIntOrPyLongToLong(PyObject* o); // NOLINT