The group machinery SGDOptimizer and AdamOptimizer share.
More...
#include <param_groups.hpp>
|
| struct | Assignment |
| | One parameter with the settings that apply to it this step. More...
|
| |
The group machinery SGDOptimizer and AdamOptimizer share.
◆ groups() [1/2]
| std::vector< ParamGroup > & pulsatrix::ParamGroupSet::groups |
( |
| ) |
|
|
inline |
◆ groups() [2/2]
| const std::vector< ParamGroup > & pulsatrix::ParamGroupSet::groups |
( |
| ) |
const |
|
inline |
◆ resolve()
| std::vector< Assignment > pulsatrix::ParamGroupSet::resolve |
( |
Module & |
module, |
|
|
float |
default_learning_rate, |
|
|
float |
default_weight_decay |
|
) |
| const |
|
inline |
Every parameter of module, in parameters() order, with its group's settings.
- Note
- A parameter a legacy module reports without a name gets the default settings.
- Exceptions
-
| std::invalid_argument | if a group's settings were changed to invalid values. |
◆ set()
| void pulsatrix::ParamGroupSet::set |
( |
std::vector< ParamGroup > |
groups | ) |
|
|
inline |
- Exceptions
-
| std::invalid_argument | if a group has no selector or an invalid setting. |
The documentation for this class was generated from the following file: