nnet-update-parallel.cc File Reference
#include <numeric>
#include "nnet2/nnet-update-parallel.h"
#include "nnet2/nnet-update.h"
#include "util/kaldi-thread.h"
Include dependency graph for nnet-update-parallel.cc:

Go to the source code of this file.

Classes

class  DoBackpropParallelClass
 

Namespaces

 kaldi
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:
 
 kaldi::nnet2
 

Functions

double DoBackpropParallel (const Nnet &nnet, int32 minibatch_size, SequentialNnetExampleReader *example_reader, double *tot_weight, Nnet *nnet_to_update)
 This function is similar to "DoBackprop" in nnet-update.h This function computes the objective function and either updates the model or computes parameter gradients. More...
 
double DoBackpropSingleThreaded (const Nnet &nnet, int32 minibatch_size, const std::vector< NnetExample > &egs, double *tot_weight, Nnet *nnet_to_update)
 
double DoBackpropParallel (const Nnet &nnet, int32 minibatch_size, int32 num_threads, const std::vector< NnetExample > &examples, double *num_frames, Nnet *nnet_to_update)
 This version of DoBackpropParallel takes a vector of examples, and will typically be used to compute the exact gradient. More...