Apache Singa
A General Distributed Deep Learning Library
Public Member Functions | Protected Attributes | List of all members
singa::Updater Class Reference

Basic Updater class just forward all the method function call to the wrapped Optimizer. More...

#include <updater.h>

Inheritance diagram for singa::Updater:
Inheritance graph
[legend]
Collaboration diagram for singa::Updater:
Collaboration graph
[legend]

Public Member Functions

 Updater (Optimizer *opt)
 
virtual void Setup (const OptimizerConf &conf)
 Forward Setup() to Optimizer.
 
virtual void Register (const string &name, const ParamSpec &specs)
 Forward Register() to Optimizer.
 
virtual void Apply (int step, const string &name, Tensor &grad, Tensor &value)
 Forward Apply() to Optimizer.
 
OptimizerGetOptimizer ()
 
 Updater (const Updater &)=delete
 
void operator= (const Updater &)=delete
 

Protected Attributes

Optimizeropt_
 

Detailed Description

Basic Updater class just forward all the method function call to the wrapped Optimizer.


The documentation for this class was generated from the following file: