Pytorch in V.S. Code: torch.tensor is not callable
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!



add this line after it: ,&quot;--disable-msg=not-callable&quot;
just like this enter image description here
