nnet-computation.h File Reference

The two main classes defined in this header are struct ComputationRequest, which basically defines a request for a concrete computation that we want the network to do (e.g. More...

#include "nnet3/nnet-common.h"
#include "nnet3/nnet-nnet.h"
#include <iostream>
#include <sstream>
#include <vector>
#include <map>
Include dependency graph for nnet-computation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MiscComputationInfo
 
struct  IoSpecification
 
struct  IoSpecificationHasher
 
struct  ComputationRequest
 
struct  ComputationRequestHasher
 
struct  ComputationRequestPtrEqual
 
struct  NnetComputation
 
struct  NnetComputation::MatrixInfo
 
struct  NnetComputation::MatrixDebugInfo
 
struct  NnetComputation::SubMatrixInfo
 
struct  NnetComputation::Command
 
struct  NnetComputation::PrecomputedIndexesInfo
 
struct  NnetComputationPrintInserter
 

Namespaces

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

Enumerations

enum  CommandType {
  kAllocMatrix, kDeallocMatrix, kSwapMatrix, kSetConst,
  kPropagate, kBackprop, kBackpropNoModelUpdate, kMatrixCopy,
  kMatrixAdd, kCopyRows, kAddRows, kCopyRowsMulti,
  kCopyToRowsMulti, kAddRowsMulti, kAddToRowsMulti, kAddRowRanges,
  kCompressMatrix, kDecompressMatrix, kAcceptInput, kProvideOutput,
  kNoOperation, kNoOperationPermanent, kNoOperationMarker, kNoOperationLabel,
  kGotoLabel
}
 CommandType is an enum that describes the category of the command used in the NnetComputation. More...
 

Detailed Description

The two main classes defined in this header are struct ComputationRequest, which basically defines a request for a concrete computation that we want the network to do (e.g.

"these are the input indexes available, and we want these output indexes"), and struct NnetComputation, which is a compiled form of the computation that outlines the matrix variables and the specific sequence of steps that need to be taken to complete the requested computation.

Definition in file nnet-computation.h.