• Docs >
  • Library API >
  • Function torch::jit::import_ir_module(std::shared_ptr<CompilationUnit>, const std::string&, std::optional<c10::Device>, ExtraFilesMap&, bool, bool)
  • Edit on GitHub
Shortcuts

Function torch::jit::import_ir_module(std::shared_ptr<CompilationUnit>, const std::string&, std::optional<c10::Device>, ExtraFilesMap&, bool, bool)

Function Documentation

Module torch::jit::import_ir_module(std::shared_ptr<CompilationUnit> cu, const std::string &filename, std::optional<c10::Device> device, ExtraFilesMap &extra_files, bool load_debug_files = true, bool restore_shapes = false)

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources