20 #ifndef KALDI_NNET3_AM_NNET_SIMPLE_H_    21 #define KALDI_NNET3_AM_NNET_SIMPLE_H_    64   void Write(std::ostream &os, 
bool binary) 
const;
    66   void Read(std::istream &is, 
bool binary);
    80   std::string 
Info() 
const;
   116 #endif // KALDI_NNET3_AM_NNET_SIMPLE_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
 
Vector< BaseFloat > priors_
 
int32 InputDim(const std::string &input_name) const
 
int32 LeftContext() const
Minimum left context required to compute an output. 
 
int32 RightContext() const
Minimum right context required to compute an output. 
 
const AmNnetSimple & operator=(const AmNnetSimple &other)
 
int32 InputDim() const
Returns the input feature dim. 
 
int32 IvectorDim() const
Returns the iVector dimension, or -1 if there is no such input. 
 
const Nnet & GetNnet() const
 
void Read(std::istream &is, bool binary)
 
void SetPriors(const VectorBase< BaseFloat > &priors)
 
Nnet & GetNnet()
Caution: if you structurally change the nnet, you should call SetContext() afterward. 
 
AmNnetSimple(const Nnet &nnet)
 
void SetNnet(const Nnet &nnet)
 
const VectorBase< BaseFloat > & Priors() const
 
void SetContext()
This function works out the left_context_ and right_context_ variables from the network (it's a rathe...
 
A class representing a vector. 
 
AmNnetSimple(const AmNnetSimple &other)
 
Provides a vector abstraction class. 
 
void Write(std::ostream &os, bool binary) const