Publish c10::RegisterOperators as torch::RegisterOperators (#20334)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20334

-

Reviewed By: li-roy

Differential Revision: D15284557

fbshipit-source-id: fdd1d9f2910dbd05a869eef13ccdc68c80e6bd81
This commit is contained in:
Sebastian Messmer 2019-05-15 13:41:42 -07:00 committed by Facebook Github Bot
parent 852f8526c5
commit b55d2dcc84

View File

@ -2,7 +2,7 @@
#include <torch/csrc/jit/operator.h>
#include <ATen/core/stack.h>
#include <ATen/core/op_registration/infer_schema.h>
#include <ATen/core/op_registration/op_registration.h>
#include <torch/csrc/jit/tracer.h>
#include <torch/csrc/utils/variadic.h>
@ -254,4 +254,7 @@ struct TORCH_API RegisterOperators {
};
} // namespace jit
using RegisterOperators = c10::RegisterOperators;
} // namespace torch