Shortcuts

Class OptimizerParamState

Inheritance Relationships

Derived Types

Class Documentation

class OptimizerParamState

Subclassed by torch::optim::OptimizerCloneableParamState< AdamWParamState >, torch::optim::OptimizerCloneableParamState< SGDParamState >, torch::optim::OptimizerCloneableParamState< AdamParamState >, torch::optim::OptimizerCloneableParamState< AdagradParamState >, torch::optim::OptimizerCloneableParamState< LBFGSParamState >, torch::optim::OptimizerCloneableParamState< RMSpropParamState >, torch::optim::OptimizerCloneableParamState< Derived >

Public Functions

OptimizerParamState() = default
OptimizerParamState(const OptimizerParamState&) = default
OptimizerParamState &operator=(const OptimizerParamState&) = default
OptimizerParamState(OptimizerParamState&&) noexcept = default
OptimizerParamState &operator=(OptimizerParamState&&) noexcept = default
virtual std::unique_ptr<OptimizerParamState> clone() const
virtual void serialize(torch::serialize::InputArchive &archive)
virtual void serialize(torch::serialize::OutputArchive &archive) const
virtual ~OptimizerParamState() = default

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