Searched refs:strides_from_shape (Results 1 - 2 of 2) sorted by relevance
/external/python/cpython3/Modules/ |
H A D | _testbuffer.c | 282 static Py_ssize_t *strides_from_shape(const ndbuf_t *, int flags); 690 strides = strides_from_shape(nd->head, 0); 887 strides_from_shape(const ndbuf_t *ndbuf, int flags) function 1146 base->strides = strides_from_shape(ndbuf, ndbuf->flags); 2181 dest.strides = strides_from_shape(ndbuf, 0);
|
/external/python/cpython3/Lib/test/ |
H A D | test_buffer.py | 255 def strides_from_shape(ndim, shape, itemsize, layout): function 325 sstrides = strides_from_shape(ndim, shape, 1, 'C') 326 dstrides = strides_from_shape(ndim, shape[::-1], 1, 'C') 1338 strides = strides_from_shape(ndim, shape, itemsize, 'C') 1360 strides = strides_from_shape(ndim, shape, itemsize, 'F') 2349 strides = strides_from_shape(ndim, shape, 1, 'C') 2396 strides = strides_from_shape(ndim, shape, 1, 'F')
|
Completed in 3418 milliseconds