Thrill  0.1
GradientResult< Vector > Struct Template Reference

Detailed Description

template<typename Vector>
struct examples::stochastic_gradient_descent::GradientResult< Vector >

Definition at line 57 of file stochastic_gradient_descent.hpp.

+ Inheritance diagram for GradientResult< Vector >:
+ Collaboration diagram for GradientResult< Vector >:

#include <stochastic_gradient_descent.hpp>

Public Member Functions

GradientResult operator+ (const GradientResult &b) const
 
template<typename Archive >
void serialize (Archive &ar)
 

Public Attributes

double loss
 
Vector weights
 

Member Function Documentation

◆ operator+()

GradientResult operator+ ( const GradientResult< Vector > &  b) const
inline

Definition at line 61 of file stochastic_gradient_descent.hpp.

◆ serialize()

void serialize ( Archive &  ar)
inline

Definition at line 66 of file stochastic_gradient_descent.hpp.

Member Data Documentation

◆ loss

double loss

◆ weights


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