Fix Caffe2 operator schemas (#15462) (#13229) (#18109)
Summary:
Maratyszcza harouwu yinghai
This is broken since #13065. `c_str()` returns a pointer that isn't permanent.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18109
Differential Revision: D14516622
Pulled By: ezyang
fbshipit-source-id: 7113d92eac4f61479c4c7b323cf78cc8aa00b17e