Skip to content

Commit

Permalink
Publish c10::RegisterOperators as torch::RegisterOperators (pytorch#2…
Browse files Browse the repository at this point in the history
…0334)

Summary:
Pull Request resolved: pytorch#20334

-

Reviewed By: li-roy

Differential Revision: D15284557

fbshipit-source-id: fdd1d9f2910dbd05a869eef13ccdc68c80e6bd81
  • Loading branch information
smessmer authored and facebook-github-bot committed May 15, 2019
1 parent 852f852 commit b55d2dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion torch/csrc/jit/custom_operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -254,4 +254,7 @@ struct TORCH_API RegisterOperators {
};

} // namespace jit

using RegisterOperators = c10::RegisterOperators;

} // namespace torch

0 comments on commit b55d2dc

Please sign in to comment.