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

Function torch::jit::import_ir_module(std::shared_ptr<CompilationUnit>, std::shared_ptr<caffe2::serialize::ReadAdapterInterface>, std::optional<c10::Device>, ExtraFilesMap&, bool)

Function Documentation

Module torch::jit::import_ir_module(std::shared_ptr<CompilationUnit> cu, std::shared_ptr<caffe2::serialize::ReadAdapterInterface> rai, std::optional<c10::Device> device, ExtraFilesMap &extra_files, bool load_debug_files = true)

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