• Docs >
  • Library API >
  • Function torch::jit::import_ir_module(std::shared_ptr<CompilationUnit>, std::shared_ptr<caffe2::serialize::PyTorchStreamReader>, std::shared_ptr<torch::jit::DeserializationStorageContext>, std::optional<at::Device>, std::string)
  • Edit on GitHub
Shortcuts

Function torch::jit::import_ir_module(std::shared_ptr<CompilationUnit>, std::shared_ptr<caffe2::serialize::PyTorchStreamReader>, std::shared_ptr<torch::jit::DeserializationStorageContext>, std::optional<at::Device>, std::string)

Function Documentation

Module torch::jit::import_ir_module(std::shared_ptr<CompilationUnit> cu, std::shared_ptr<caffe2::serialize::PyTorchStreamReader> reader, std::shared_ptr<torch::jit::DeserializationStorageContext> storage_context, std::optional<at::Device> device, std::string ts_id)

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