Searched refs:sstrides (Results 1 – 4 of 4) sorted by relevance
/aosp_15_r20/external/python/cpython3/Objects/ |
D | memoryobject.c | 331 char *sptr, const Py_ssize_t *sstrides, const Py_ssize_t *ssuboffsets, in copy_base() argument 344 for (i=0, p=mem; i < shape[0]; p+=itemsize, sptr+=sstrides[0], i++) { in copy_base() 361 char *sptr, const Py_ssize_t *sstrides, const Py_ssize_t *ssuboffsets, in copy_rec() argument 371 sptr, sstrides, ssuboffsets, in copy_rec() 376 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec() 382 xsptr, sstrides+1, ssuboffsets ? ssuboffsets+1 : NULL, in copy_rec()
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | _testbuffer.c | 475 char *sptr, const Py_ssize_t *sstrides, const Py_ssize_t *ssuboffsets, in copy_rec() argument 484 dstrides[0] == itemsize && sstrides[0] == itemsize) { in copy_rec() 490 for (i=0, p=mem; i<shape[0]; p+=itemsize, sptr+=sstrides[0], i++) { in copy_rec() 502 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec() 508 xsptr, sstrides+1, ssuboffsets ? ssuboffsets+1 : NULL, in copy_rec()
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/ |
H A D | jit_type.h | 688 TensorTypePtr withStrides(VaryingShape<Stride> sstrides) const { in withStrides() 690 cloned->strides_ = std::move(sstrides); in withStrides()
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 334 sstrides = strides_from_shape(ndim, shape, 1, 'C') 338 fr = getindex(ndim, ind, sstrides)
|