```
import torch
import matplotlib.pyplot as plt
def get_number(swnew):
temp = torch.div(1, swnew)
temp[temp == float("Inf")] = 200
return temp
if __name__ == '__main__':
swnew = torch.zeros(10, 1, 1, requires_grad=True, dtype=torch.float64)
y= get_number(swnew)
plt.plot(swnew[:,1,1], y[:,1,1])
```

Hey, sorry this one is pretty easy, but I don’t know why it shows

IndexError: index 1 is out of bounds for dimension 1 with size 1

Thank you