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

Satisfied by any callable accepting a single decoded token. More...

Concept definition

template<class T>
concept Mila::Dnn::TokenStreamer = requires(T && t, int32_t tok)
{
t( tok );
}
Satisfied by any callable accepting a single decoded token.
Definition TokenStreamer.ixx:24

Detailed Description

Satisfied by any callable accepting a single decoded token.

Used as the callback type in generateStreaming() and generateAsync().