Error while converting pytorch model to onnx

m = torch.load(’./modell.pth’, map_location=lambda storage, loc: storage)

Export the trained model to ONNX

dummy_input = Variable(torch.randn(1, 3, 100, 100))
torch.onnx.export(m(), dummy_input, “./models/ONNNNX.onnx”)

I am getting the error :
File “”, line 28, in
torch.onnx.export(m(), dummy_input, “./models/ONNNNX.onnx”)
File “/home/surya/myenv/lib/python3.6/site-packages/torch/nn/modules/”, line 493, in call
result = self.forward(*input, **kwargs)
File “/home/surya/myenv/lib/python3.6/site-packages/torch/nn/modules/”, line 88, in forward
raise NotImplementedError