class nbla::utils::nnp::Optimizer
-
class Optimizer
Public Functions
- NBLA_API string name () const
Optimizer name.
- NBLA_API string network_name () const
Network name.
- NBLA_API const int update_interval () const
Update interval.
- NBLA_API shared_ptr< Network > get_network ()
Get the reference (shared_ptr) of Network object held in this.
- NBLA_API const float update (const int iter)
Execute update operations including forward, backward and update.
- Parameters:
iter – Number of iteration.
- Return values:
loss – value.
-
struct DataVariable
Data variable container.
The string fields corresponds to DataVariable in proto definition.
-
struct GeneratorVariable
Generator variable container.
The string fields corresponds to GeneratorVariable in proto definition.
-
struct LossVariable
Loss variable container.
The string fields corresponds to LossVariable in proto definition.
-
struct ParameterVariable
Parameter variable container.
The string fields corresponds to ParameterVariable in proto definition.