Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_values.cc455 py::array numpy_array = py::cast<py::array>(h); in PyArgSignatureOfValue() local
457 DtypeToPrimitiveType(numpy_array.dtype())); in PyArgSignatureOfValue()
469 reinterpret_cast<const int64_t*>(numpy_array.shape()), in PyArgSignatureOfValue()
470 numpy_array.ndim()), in PyArgSignatureOfValue()
/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 …]
/external/python/pybind11/tests/
Dtest_numpy_array.py6 from pybind11_tests import numpy_array as m
Dtest_numpy_array.cpp135 TEST_SUBMODULE(numpy_array, sm) { in TEST_SUBMODULE() argument