Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By not resetting the offset here, operating on a Tensor view without cloning could cause undefined behavior, because we would be accessing elements outside the tensor buffer.
- Loading branch information