#include <nnet-loss.h>
|
| LossItf (LossOptions &opts) |
|
virtual | ~LossItf () |
|
virtual void | Eval (const VectorBase< BaseFloat > &frame_weights, const CuMatrixBase< BaseFloat > &net_out, const CuMatrixBase< BaseFloat > &target, CuMatrix< BaseFloat > *diff)=0 |
| Evaluate cross entropy using target-matrix (supports soft labels),. More...
|
|
virtual void | Eval (const VectorBase< BaseFloat > &frame_weights, const CuMatrixBase< BaseFloat > &net_out, const Posterior &target, CuMatrix< BaseFloat > *diff)=0 |
| Evaluate cross entropy using target-posteriors (supports soft labels),. More...
|
|
virtual std::string | Report ()=0 |
| Generate string with error report,. More...
|
|
virtual BaseFloat | AvgLoss ()=0 |
| Get loss value (frame average),. More...
|
|
Definition at line 51 of file nnet-loss.h.
◆ LossItf()
◆ ~LossItf()
◆ AvgLoss()
◆ Eval() [1/2]
Evaluate cross entropy using target-matrix (supports soft labels),.
Implemented in MultiTaskLoss, Mse, and Xent.
◆ Eval() [2/2]
Evaluate cross entropy using target-posteriors (supports soft labels),.
Implemented in MultiTaskLoss, Mse, and Xent.
◆ Report()
virtual std::string Report |
( |
| ) |
|
|
pure virtual |
◆ opts_
◆ timer_
The documentation for this class was generated from the following file: