enter image description here
enter image description her
enter image description here
enter image description here
enter image description here
the forward function is not implemented and it is throwing up error .the error goes as follows
NotImplementedError Traceback (most recent call last) <ipython-input-16-00b2161253ba> in <cell line: 124>() 123 124 if _name_ == ‘_main_’: –> 125 main() 12 frames /usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py in _forward_unimplemented(self, *input) 349 registered hooks while the latter silently ignores them. 350 “”” –> 351 raise NotImplementedError(f”Module [{type(self)._name_}] is missing the required “forward” function”) 352 353 NotImplementedError: Module [ModuleList] is missing the required “forward” function
20115042 HICET STUDENT AIML is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.