OpenNN
Open-source neural networks library
Loading...
Searching...
No Matches
transformer_decoder.h File Reference
#include <functional>
#include "forward_propagation.h"
#include "language_dataset.h"
#include "standard_networks.h"

Go to the source code of this file.

Classes

class  opennn::TransformerDecoder
 Drives token-by-token inference of a Transformer model with configurable sampling strategies. More...
 
struct  opennn::TransformerDecoder::SamplingConfig
 Sampling parameters that control how the next token is drawn from the model output distribution. More...
 

Namespaces

namespace  opennn