torch.unbind torch.unbind(input, dim=0) → seq Removes a tensor dimension. Returns a tuple of all slices along a given dimension, already without it. Parameters: input () – the tensor to unbind