nnet-functions.h File Reference
#include "base/kaldi-common.h"
#include "util/kaldi-io.h"
#include "matrix/matrix-lib.h"
#include "nnet2/nnet-component.h"
#include "nnet2/nnet-nnet.h"
#include <iostream>
#include <sstream>
#include <vector>
Include dependency graph for nnet-functions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

int32 IndexOfSoftmaxLayer (const Nnet &nnet)
 If "nnet" has exactly one softmax layer, this function will return its index; otherwise it will return -1. More...
 
void InsertComponents (const Nnet &src_nnet, int32 c, Nnet *dest_nnet)
 Inserts the components of one neural network into a particular place in the other one. More...
 
void ReplaceLastComponents (const Nnet &src_nnet, int32 num_to_remove, Nnet *dest_nnet)
 Removes the last "num_to_remove" components and adds the components from "src_nnet". More...