1 | #pragma once |
---|---|
2 | |
3 | #include <torch/csrc/jit/ir/ir.h> |
4 | |
5 | #include <memory> |
6 | |
7 | namespace torch { |
8 | namespace jit { |
9 | // see .cpp for docs |
10 | TORCH_API void RemoveInplaceOps(const std::shared_ptr<Graph>& graph); |
11 | |
12 | TORCH_API void ImplicitCastForBinaryInplaceOps(Block* block); |
13 | } // namespace jit |
14 | } // namespace torch |
15 |