DeepSpeech/native_client/ctcdecode/output.h
2018-11-26 08:29:02 +03:00

16 lines
341 B
C++

#ifndef OUTPUT_H_
#define OUTPUT_H_
#include <vector>
/* Struct for the beam search output, containing the tokens based on the vocabulary indices, and the timesteps
* for each token in the beam search output
*/
struct Output {
double probability;
std::vector<int> tokens;
std::vector<int> timesteps;
};
#endif // OUTPUT_H_