pytorch/torch/csrc/jit/operator_options.h
Sebastian Messmer 384d828ea5 Add aliasAnalysis to torch::RegisterOperators() (#21084)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/21084

- Now AliasAnalysisKind can be set using the torch::RegisterOperators() API
- This also allows us to remove the last place in torch::jit::RegisterOperators that didn't use c10 yet.

Reviewed By: dzhulgakov

Differential Revision: D15542097

fbshipit-source-id: ea127ecf051a5c1e567e035692deed44e04faa9e
2019-05-31 13:51:07 -07:00

12 lines
189 B
C++

#pragma once
#include <ATen/core/dispatch/OperatorOptions.h>
namespace torch {
namespace jit {
using AliasAnalysisKind = c10::AliasAnalysisKind;
} // namespace jit
} // namespace torch