qfeval_functions.functions.shift

shift(x, shifts, dims)[source]
Overloads:
  • 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.