ceras
yet another deep learning engine
Public Types | Public Member Functions | Public Attributes | List of all members
ceras::adagrad< Loss, T > Struct Template Reference

#include <optimizer.hpp>

Inheritance diagram for ceras::adagrad< Loss, T >:

Public Types

typedef tensor< T > tensor_type
 

Public Member Functions

 adagrad (Loss &loss, std::size_t batch_size, T learning_rate=1.0e-1, T decay=0.0) noexcept
 
void forward ()
 

Public Attributes

Loss & loss_
 
learning_rate_
 
decay_
 
unsigned long iterations_
 

Member Typedef Documentation

◆ tensor_type

template<typename Loss , typename T >
typedef tensor< T > ceras::adagrad< Loss, T >::tensor_type

Constructor & Destructor Documentation

◆ adagrad()

template<typename Loss , typename T >
ceras::adagrad< Loss, T >::adagrad ( Loss &  loss,
std::size_t  batch_size,
learning_rate = 1.0e-1,
decay = 0.0 
)
inlinenoexcept

Member Function Documentation

◆ forward()

template<typename Loss , typename T >
void ceras::adagrad< Loss, T >::forward ( )
inline

Member Data Documentation

◆ decay_

template<typename Loss , typename T >
T ceras::adagrad< Loss, T >::decay_

◆ iterations_

template<typename Loss , typename T >
unsigned long ceras::adagrad< Loss, T >::iterations_

◆ learning_rate_

template<typename Loss , typename T >
T ceras::adagrad< Loss, T >::learning_rate_

◆ loss_

template<typename Loss , typename T >
Loss& ceras::adagrad< Loss, T >::loss_

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