Function tvm::compiler::graph_rt::compile_from_disk [−][src]
pub fn compile_from_disk<P1, P2>(
config: CompilerConfig,
ir_mod_path: P1,
output_rt_mod_path: P2
) -> Result<(), Error> where
P1: AsRef<Path>,
P2: AsRef<Path>,
Expand description
Compile an IRModule on disk and output a runtime module to disk.
Arguments
config
- The configuration for the compiler.ir_mod_path
- The path the serialized IRModule.output_rt_mod_path
- The path to the output runtime module.