Function torch::jit::import_ir_module(std::shared_ptr<CompilationUnit>, std::istream&, std::optional<c10::Device>, ExtraFilesMap&, bool, bool)¶
Defined in File import.h
Function Documentation¶
-
Module torch::jit::import_ir_module(std::shared_ptr<CompilationUnit> cu, std::istream &in, std::optional<c10::Device> device, ExtraFilesMap &extra_files, bool load_debug_files = true, bool restore_shapes = false)¶