NonImplemented error while calling a model

Hi, I implemented a cnn model and when i called it, I got the below error. Can anyone explain what actually the error is?


Thanks.

Did you not override the forward method on your cnn?

oops, some-how the forward method got indented and defined inside the init method.
Now it works. Thanks for the reply.

1 Like