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
  • 19,150
  • 23
  • 79
  • 104
Pressing_Keys_24_7
  • 1,533
  • 2
  • 5
  • 21

0 Answers0