Out-of-line construction of OperatorName. (#32121)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32121
This reduces code size in the call sites of this function (of which
there are many: one for every operator call) since we no longer have
to construct std::string at the site.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Differential Revision: D19392951
Pulled By: ezyang
fbshipit-source-id: 8bc43d46ba635380ff9f8989f7557fdd74b552cf