Shortcuts

Function torch::nn::operator<<(serialize::OutputArchive&, const std::shared_ptr<nn::Module>&)

Function Documentation

serialize::OutputArchive &torch::nn::operator<<(serialize::OutputArchive &archive, const std::shared_ptr<nn::Module> &module)

Serialize a Module pointer into an OutputArchive.

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