1 | #pragma once |
---|---|
2 | |
3 | #include <torch/csrc/Export.h> |
4 | |
5 | #include <memory> |
6 | |
7 | namespace torch { |
8 | namespace jit { |
9 | |
10 | struct Graph; |
11 | struct ArgumentSpec; |
12 | |
13 | TORCH_API void PropagateRequiresGrad(std::shared_ptr<Graph>& graph); |
14 | |
15 | } // namespace jit |
16 | } // namespace torch |
17 |