Class OptimizerParamGroup¶
Defined in File optimizer.h
Page Contents
Class Documentation¶
-
class OptimizerParamGroup¶
Stores parameters in the param_group and stores a pointer to the OptimizerOptions.
Public Functions
-
inline OptimizerParamGroup(const OptimizerParamGroup ¶m_group)¶
-
OptimizerParamGroup(OptimizerParamGroup &¶m_group) = default¶
-
inline OptimizerParamGroup(std::vector<Tensor> params)¶
-
inline OptimizerParamGroup(std::vector<Tensor> params, std::unique_ptr<OptimizerOptions> options)¶
-
OptimizerParamGroup &operator=(const OptimizerParamGroup ¶m_group) = delete¶
-
OptimizerParamGroup &operator=(OptimizerParamGroup &¶m_group) noexcept = default¶
-
~OptimizerParamGroup() = default¶
-
bool has_options() const¶
-
OptimizerOptions &options()¶
-
const OptimizerOptions &options() const¶
-
void set_options(std::unique_ptr<OptimizerOptions> options)¶
-
std::vector<Tensor> ¶ms()¶
-
const std::vector<Tensor> ¶ms() const¶
-
inline OptimizerParamGroup(const OptimizerParamGroup ¶m_group)¶