Allow Dict type in c10 operators (#20184)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20184
- Add support for Dict<Key, Value> arguments and returns to c10 operators
- Add support for std::unordered_map<Key, Value> to the legacy API (but not to c10 kernels)
Reviewed By: li-roy
Differential Revision: D15227620
fbshipit-source-id: c1ea6c12165e07b74272cb48c6021bdb5c2d7922