I am new to PyTorch. Can someone explain to me the difference between “:” and “…” in tensor slicing.
for instance
tensor = torch.rand(3,4)
print(f"Last column: {tensor[:,-1]}")
print(f"Last column: {tensor[...,-1]}")

outputs the same results
Thankyou in advance