Go to the source code of this file.
 | 
| int  | main (int argc, char *argv[]) | 
|   | 
◆ main()
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char *  | 
          argv[]  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 25 of file raw-nnet-info.cc.
References ParseOptions::GetArg(), Nnet::Info(), KALDI_LOG, ParseOptions::NumArgs(), ParseOptions::PrintUsage(), ParseOptions::Read(), and kaldi::ReadKaldiObject().
   27     using namespace kaldi;
    32         "Print human-readable information about the raw neural network\n"    33         "to the standard output\n"    34         "Usage:  raw-nnet-info [options] <nnet-in>\n"    36         " raw-nnet-info 1.nnet\n";
    42     if (po.NumArgs() != 1) {
    47     std::string raw_nnet_rxfilename = po.GetArg(1);
    52     std::cout << nnet.
Info();
    54     KALDI_LOG << 
"Printed info about " << raw_nnet_rxfilename;
    55   } 
catch(
const std::exception &e) {
    56     std::cerr << e.what() << 
'\n';
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
 
void ReadKaldiObject(const std::string &filename, Matrix< float > *m)
 
The class ParseOptions is for parsing command-line options; see Parsing command-line options for more...