Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::TokenSink Concept Referenceexport

Satisfied by any callable accepting a span of decoded tokens. More...

Concept definition

template<class T>
concept Mila::Dnn::TokenSink = requires(T && t, std::span<const int32_t> s)
{
t( s );
}
Satisfied by any callable accepting a span of decoded tokens.
Definition TokenStreamer.ixx:35

Detailed Description

Satisfied by any callable accepting a span of decoded tokens.

Used as the sink type for BufferedTokenStreamer.