You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The A.storeChunk(data, offset, extent) and A.loadChunk(data, chunk_offset, chunk_extent) methods should for syntactic sugar provide a slice-view access of the form:
// write (copy)
A[view] = data;
// returns: std::unique_ptr< A.dtype >auto B = A[view];
// hm, maybe that's not possible, so let's say something likeauto B = A[view].astype< some_dtype >();
The text was updated successfully, but these errors were encountered:
Hm, I think we will need this C++ Slice class even earlier if we want to have a seamless python API.
And two helpers for: Extent, Offset -> Slice and Slice -> Extent, Offset
No need to expose it in the C++ frontend at this point, tough.
The
A.storeChunk(data, offset, extent)
andA.loadChunk(data, chunk_offset, chunk_extent)
methods should for syntactic sugar provide a slice-view access of the form:The text was updated successfully, but these errors were encountered: