Allow Dict type in c10 operators (#20373)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20373
- 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: D15298235
fbshipit-source-id: 6d9793db1f12bea377f508a9b33a495ebe0bec18