shift()
x (torch.Tensor), shifts (int), dims (int) → torch.Tensor
x (torch.Tensor), shifts (typing.Tuple[int, …]), dims (typing.Tuple[int, …]) → torch.Tensor
Shifts array elements along specified dimensions.