[fix] Add an additional assert for checking if the params of a module requires_grad=True (#761)
* add additional assert for checking if the requires_grad field is set. * fix lint errors * add unit tests and address comments
Showing
Please register or sign in to comment