Home
last modified time | relevance | path

Searched refs:CTCDecoder (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/
A Dctc_decoder.h36 class CTCDecoder {
43 CTCDecoder(int num_classes, int batch_size, bool merge_repeated) in CTCDecoder() function
49 virtual ~CTCDecoder() {} in ~CTCDecoder()
72 class CTCGreedyDecoder : public CTCDecoder {
75 : CTCDecoder(num_classes, batch_size, merge_repeated) {} in CTCGreedyDecoder()
77 bool Decode(const CTCDecoder::SequenceLength& seq_len, in Decode()
78 const std::vector<CTCDecoder::Input>& input, in Decode()
79 std::vector<CTCDecoder::Output>* output, in Decode()
80 CTCDecoder::ScoreOutput* scores) override { in Decode()
A Dctc_beam_search.h42 class CTCBeamSearchDecoder : public CTCDecoder {
90 : CTCDecoder(num_classes, batch_size, merge_repeated), in CTCDecoder() function
100 bool Decode(const CTCDecoder::SequenceLength& seq_len,
101 const std::vector<CTCDecoder::Input>& input,
102 std::vector<CTCDecoder::Output>* output,
103 CTCDecoder::ScoreOutput* scores) override;
158 const CTCDecoder::SequenceLength& seq_len, in Decode()
159 const std::vector<CTCDecoder::Input>& input, in Decode()
160 std::vector<CTCDecoder::Output>* output, ScoreOutput* scores) { in Decode()
166 [this](const CTCDecoder::Output& output) -> bool { in Decode()

Completed in 5 milliseconds