1 #pragma once 2 3 #include <torch/csrc/jit/ir/ir.h> 4 5 namespace torch::jit { 6 7 TORCH_API bool canRunWithAutograd(Node* node); 8 9 TORCH_API void InlineAutodiffSubgraphs( 10 std::shared_ptr<Graph>& graph, 11 size_t threshold = 5); 12 13 } // namespace torch::jit 14