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)¶
-
inline OptimizerParamGroup(std::vector<Tensor> params)¶
-
inline OptimizerParamGroup(std::vector<Tensor> params, std::unique_ptr<OptimizerOptions> options)¶
-
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)¶