#pragma once #include #include #include namespace torch::jit::mobile::nnc { // Performs Ahead Of Time compilation of a given method in a model // returning the compiled function and LLVM assembly code TORCH_API std::pair, const std::string> aotCompile( const std::string& method_name, std::shared_ptr& subgraph, const std::vector>& sizes, const std::vector& types, const std::string& kernel_func_name = "func"); } // namespace torch::jit::mobile::nnc