Getting an error while passing images to model

for images, labels in train_loader:

print(images.shape)

outputs = model(images)

break

and the error which I am getting is:
NotImplementedError Traceback (most recent call last)
in ()
1 for images, labels in train_loader:
2 print(images.shape)
----> 3 outputs = model(images)
4 break
5

1 frames
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py in _forward_unimplemented(self, *input)
173 registered hooks while the latter silently ignores them.
174 “”"
–> 175 raise NotImplementedError
176
177