Better error message when trying to instantiate NamedTuple
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/21309
Differential Revision: D15630564
Pulled By: jamesr66a
fbshipit-source-id: 82753feee65bbe6c8b2f827cc2664628f3b9f4a3