torch.as_strided_copy
- torch.as_strided_copy()
Performs the same operation as
torch.as_strided(), but all output tensors are freshly created instead of aliasing the input.
Performs the same operation as torch.as_strided(), but all output tensors
are freshly created instead of aliasing the input.