Hi team,
I am creating a tensor x and passing x as a parameter to a function f, while passing x as a parameter to a function f, I am getting an error TypeError: ‘NoneType’ object is not iterable
index = 20
x= torch.tensor([index])
y = f(x)
Please help me to resolve this issue.