Class BeamSearchDecoder

Inheritance Relationships

Base Type

Class Documentation

class BeamSearchDecoder : public marian::quicksand::IBeamSearchDecoder

Public Functions

BeamSearchDecoder(Ptr<Options> options, const std::vector<const void *> &ptrs, const std::vector<Ptr<IVocabWrapper>> &vocabs)
void setWorkspace(uint8_t *data, size_t size)
QSNBestBatch decode(const QSBatch &qsBatch, size_t maxLength, const std::unordered_set<WordIndex> &shortlist)