Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
EncoderConfig.ixx File Reference

Configuration interface for the Encoder module in the Mila DNN framework. More...

#include <stdexcept>
import Dnn.ActivationType;
import Dnn.ComponentConfig;
import Dnn.Module;

Classes

class  Mila::Dnn::EncoderConfig
 Configuration class for Encoder module. More...
 

Namespaces

namespace  Mila
 
namespace  Mila::Dnn
 

Detailed Description

Configuration interface for the Encoder module in the Mila DNN framework.

Defines the EncoderConfig class, providing a type-safe fluent interface for configuring Encoder modules. Inherits from ComponentConfig CRTP base and adds Encoder-specific options such as embedding dimension, number of heads, and feed-forward layer size.

Exposed as part of the Encoder module via module partitions.