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