1 #pragma once 2 3 #include <torch/csrc/jit/ir/ir.h> 4 5 namespace torch::jit { 6 7 TORCH_API void fuseStaticSubgraphs( 8 std::shared_ptr<Graph> graph, 9 size_t min_size); 10 11 TORCH_API void performTensorExprFusion( 12 std::shared_ptr<Graph> graph, 13 std::vector<IValue> sample_inputs); 14 15 } // namespace torch::jit 16