Home
last modified time | relevance | path

Searched refs:numpy_array (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/
H A Dpy_values.cc452 py::array numpy_array = py::cast<py::array>(h); in PyArgSignatureOfValue() local
454 DtypeToPrimitiveType(numpy_array.dtype())); in PyArgSignatureOfValue()
466 reinterpret_cast<const int64_t*>(numpy_array.shape()), in PyArgSignatureOfValue()
467 numpy_array.ndim()), in PyArgSignatureOfValue()
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_buffer.py45 from numpy import ndarray as numpy_array unknown
47 numpy_array = None variable
71 if numpy_array:
637 return numpy_array(buffer=buf, shape=shape, strides=strides,
1907 if numpy_array:
1935 if numpy_array:
1986 if numpy_array:
2266 if numpy_array:
2267 na = numpy_array(buffer=bytearray(lst),
2291 if numpy_array:
[all …]