Skip to content
Snippets Groups Projects
Select Git revision
  • ff37cb00868cfa2f4ac6925a11d1b0f820642f81
  • master default protected
2 results

gstkaldinnet2onlinedecoder.cc

Blame
    • Amit Beka's avatar
      ff37cb00
      add support for threaded nnet2 decoding · ff37cb00
      Amit Beka authored
      
      recent kaldi version add a new decoder class of threaded processing,
      with a different API than the previous (SingleUtteranceNnet2DecoderThreaded
      instead of SingleUtteranceNnet2Decoder).
      
      this commit adds compile-time support to the threaded decoder, by
      ifdef'ing all the relevant API changes. future commit should make it
      prettier, but for now, in order to avoid everybody updating kaldi source
      code, this seems better.
      
      compile the threaded decoder with make CPPFLAGS=-DTHREADED_DECODER.
      
      Signed-off-by: default avatarAmit Beka <amit.beka@gmail.com>
      ff37cb00
      History
      add support for threaded nnet2 decoding
      Amit Beka authored
      
      recent kaldi version add a new decoder class of threaded processing,
      with a different API than the previous (SingleUtteranceNnet2DecoderThreaded
      instead of SingleUtteranceNnet2Decoder).
      
      this commit adds compile-time support to the threaded decoder, by
      ifdef'ing all the relevant API changes. future commit should make it
      prettier, but for now, in order to avoid everybody updating kaldi source
      code, this seems better.
      
      compile the threaded decoder with make CPPFLAGS=-DTHREADED_DECODER.
      
      Signed-off-by: default avatarAmit Beka <amit.beka@gmail.com>
    README.md 1.71 KiB