Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing error messages for container modules (pytorch#29991)
Summary: Container `Module`s, including `ModuleList`, `ParameterList` and `ParameterDict`, should not be called like a regular `Module`. This PR add error messages for these special modules. Pull Request resolved: pytorch#29991 Differential Revision: D19698535 Pulled By: ezyang fbshipit-source-id: fe156a0bbb033041086734b38f8c6fde034829bf
- Loading branch information