How to solve this Issue "ModuleNotFoundError: No module named 'torch.tensor'"
How to solve this issue
Traceback (most recent call last):
File &quot;C:/Users/arulsuju/Desktop/OfflineSignatureVerification-master/OfflineSignatureVerification-master/main.py&quot;, line 4, in 
from Preprocessing import convert_to_image_tensor, invert_image
File &quot;C:\Users\arulsuju\Desktop\OfflineSignatureVerification-master\OfflineSignatureVerification-master\Preprocessing.py&quot;, line 4, in 
from torch.tensor import Tensor
ModuleNotFoundError: No module named 'torch.tensor'
in Python I am using from torch.tensor import Tensor

In line 4, change this
 from torch.tensor import Tensor

TO
 from torch import Tensor

