Pytorch in V.S. Code: torch.tensor is not callable

Viewed 1409

I am running my pytorch program in V.S. Code, but, I am getting the following errors:-

torch.tensor is not callable

I have followed this answer https://stackoverflow.com/a/53572939/13218692 and added the following lines in my Settings.json file in V.S. Code, but, I am still getting an error. Any help would be highly appreciated! Thanks!

enter image description here

enter image description here

1 Answers
Related