pytorch
e5218e3e - Add missing error messages for container modules (#29991)

Commit
6 years ago
Add missing error messages for container modules (#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: https://github.com/pytorch/pytorch/pull/29991 Differential Revision: D19698535 Pulled By: ezyang fbshipit-source-id: fe156a0bbb033041086734b38f8c6fde034829bf
Author
Parents
Loading