20 #ifndef KALDI_NNET2_AM_NNET_H_ 21 #define KALDI_NNET2_AM_NNET_H_ 49 void Init(std::istream &config_is);
57 void Write(std::ostream &os,
bool binary)
const;
59 void Read(std::istream &is,
bool binary);
69 std::string
Info()
const;
86 #endif // KALDI_NNET2_AM_NNET_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Vector< BaseFloat > priors_
void Read(std::istream &is, bool binary)
int32 OutputDim() const
The output dimension of the network – typically the number of pdfs.
void Init(std::istream &config_is)
Initialize the neural network based acoustic model from a config file.
const VectorBase< BaseFloat > & Priors() const
void Write(std::ostream &os, bool binary) const
AmNnet(const AmNnet &other)
A class representing a vector.
void ResizeOutputLayer(int32 new_num_pdfs)
This function is used when doing transfer learning to a new system.
const AmNnet & operator=(const AmNnet &other)
void SetPriors(const VectorBase< BaseFloat > &priors)
Provides a vector abstraction class.
const Nnet & GetNnet() const