1 #pragma once 2 #include <functional> 3 #include <memory> 4 #include <string> 5 6 #include <torch/csrc/jit/api/module.h> 7 #include <torch/csrc/jit/frontend/error_report.h> 8 #include <torch/csrc/jit/frontend/resolver.h> 9 #include <torch/csrc/jit/frontend/sugared_value.h> 10 #include <torch/csrc/jit/frontend/tree_views.h> 11 #include <torch/csrc/jit/ir/ir.h> 12 13 namespace torch::jit { 14 15 TORCH_API void runCleanupPasses(std::shared_ptr<Graph>& to_clean); 16 17 TORCH_API bool meaningfulName(const std::string& name); 18 19 } // namespace torch::jit 20