contiguous
is a member function, which makes the tensor contiguous again or a no-op if your tensor is already stored contiguously.
Have a look at this post for a small example and explanation.
1 Like
contiguous
is a member function, which makes the tensor contiguous again or a no-op if your tensor is already stored contiguously.
Have a look at this post for a small example and explanation.