21 #ifndef KALDI_NNET2_NNET_COMPUTE_H_ 22 #define KALDI_NNET2_NNET_COMPUTE_H_ 46 const CuMatrixBase<BaseFloat> &input,
48 CuMatrixBase<BaseFloat> *output);
59 const CuMatrixBase<BaseFloat> &input,
61 CuMatrixBase<BaseFloat> *output);
74 const MatrixBase<BaseFloat> &input,
77 const std::vector<int32> &labels,
78 Nnet *nnet_to_update);
85 #endif // KALDI_NNET2_NNET_COMPUTE_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void NnetComputationChunked(const Nnet &nnet, const CuMatrixBase< BaseFloat > &input, int32 chunk_size, CuMatrixBase< BaseFloat > *output)
Does the basic neural net computation, on a sequence of data (e.g.
void NnetComputation(const Nnet &nnet, const CuMatrixBase< BaseFloat > &input, bool pad_input, CuMatrixBase< BaseFloat > *output)
Does the basic neural net computation, on a sequence of data (e.g.
BaseFloat NnetGradientComputation(const Nnet &nnet, const CuMatrixBase< BaseFloat > &input, bool pad_input, const Posterior &pdf_post, Nnet *nnet_to_update)