LossOptions Struct Reference

#include <nnet-loss.h>

Collaboration diagram for LossOptions:

Public Member Functions

 LossOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 loss_report_frames
 Report loss value every 'report_interval' frames,. More...
 

Detailed Description

Definition at line 38 of file nnet-loss.h.

Constructor & Destructor Documentation

◆ LossOptions()

LossOptions ( )
inline

Definition at line 41 of file nnet-loss.h.

41  :
42  loss_report_frames(5*3600*100) // 5h,
43  { }
int32 loss_report_frames
Report loss value every &#39;report_interval&#39; frames,.
Definition: nnet-loss.h:39

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 45 of file nnet-loss.h.

References OptionsItf::Register().

Referenced by main().

45  {
46  opts->Register("loss-report-frames", &loss_report_frames,
47  "Report loss per blocks of N frames (0 = no reports)");
48  }
int32 loss_report_frames
Report loss value every &#39;report_interval&#39; frames,.
Definition: nnet-loss.h:39

Member Data Documentation

◆ loss_report_frames

int32 loss_report_frames

Report loss value every 'report_interval' frames,.

Definition at line 39 of file nnet-loss.h.

Referenced by Xent::Eval(), and Mse::Eval().


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