Class IBeamSearchDecoder

Inheritance Relationships

Derived Type

Class Documentation

class IBeamSearchDecoder

Subclassed by marian::quicksand::BeamSearchDecoder

Public Functions

IBeamSearchDecoder(Ptr<Options> options, const std::vector<const void *> &ptrs)
virtual ~IBeamSearchDecoder()
virtual QSNBestBatch decode(const QSBatch &qsBatch, size_t maxLength, const std::unordered_set<WordIndex> &shortlist) = 0
virtual void setWorkspace(uint8_t *data, size_t size) = 0

Protected Attributes

Ptr<Options> options_
std::vector<const void *> ptrs_