DeepSpeech/native_client/ctcdecode/output.h
2019-09-11 11:09:44 +02:00

16 lines
340 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 confidence;
std::vector<int> tokens;
std::vector<int> timesteps;
};
#endif // OUTPUT_H_