0

I am getting the following error in V.S. Code after importing torch and running the following code:-

Module 'torch' has no 'empty' member pylint(no-member)

Code:-

x = torch.empty(3) 
print(x)

Any help would be highly appreciated! Thanks:)

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Pressing_Keys_24_7
  • 1,755
  • 2
  • 7
  • 33

0 Answers0