Rate this Page

torch.slice_copy#

torch.slice_copy()#

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