Hi,
when I try to normalize the input for my neural net, I receive the error:
IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1)
For the following code:

input = torch.tensor(data=[1000, 4, 0.1, 0], dtype=torch.float32)
input_norm = torch.nn.functional.normalize(input)

I cannot really make sense out of it, what is my mistake here?
Thanks in advance!