Shortcuts

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

Function Documentation

Module torch::jit::import_ir_module(std::shared_ptr<CompilationUnit> cu, std::istream &in, std::optional<c10::Device> device = std::nullopt, 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