Class OptimizerParamState¶
Defined in File optimizer.h
Page Contents
Inheritance Relationships¶
Derived Types¶
public torch::optim::OptimizerCloneableParamState< AdamWParamState >
(Template Class OptimizerCloneableParamState)public torch::optim::OptimizerCloneableParamState< SGDParamState >
(Template Class OptimizerCloneableParamState)public torch::optim::OptimizerCloneableParamState< AdamParamState >
(Template Class OptimizerCloneableParamState)public torch::optim::OptimizerCloneableParamState< AdagradParamState >
(Template Class OptimizerCloneableParamState)public torch::optim::OptimizerCloneableParamState< LBFGSParamState >
(Template Class OptimizerCloneableParamState)public torch::optim::OptimizerCloneableParamState< RMSpropParamState >
(Template Class OptimizerCloneableParamState)public torch::optim::OptimizerCloneableParamState< Derived >
(Template Class OptimizerCloneableParamState)
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¶
-
OptimizerParamState() = default¶