fc = nn.Linear(128, 128)
lin = fc1(torch.tensor([16,128]))
Can anyone please tell me why this error appears?.. it works when editing the last line to be
lin = fc1(torch.Tensor(16,128)) … what is the difference between torch.tensor() and torch.Tensor()
Thanks a lot