3 #include <torch/csrc/jit/ir.h> 4 #include <torch/csrc/jit/script/compiler.h> 5 #include <torch/csrc/jit/script/module.h> 14 TORCH_API
void import_methods(
15 const std::shared_ptr<script::Module>& mod,
16 const std::string& src,
17 const std::vector<at::Tensor>& constant_table);
20 TORCH_API
void import_libs(
21 const std::string& src,
22 const std::vector<at::Tensor>& constant_table);