1 #pragma once 2 3 #include <torch/csrc/jit/api/module.h> 4 #include <torch/csrc/jit/ir/ir.h> 5 6 namespace torch::jit { 7 TORCH_API void FuseAddRelu(script::Module& module); 8 TORCH_API void FuseAddRelu(std::shared_ptr<Graph>& graph); 9 } // namespace torch::jit 10