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

Configuration interface for the TransformerBlock in the Mila DNN framework. More...

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

Classes

class  Mila::Dnn::TransformerBlockConfig
 Configuration class for TransformerBlock. More...
 

Namespaces

namespace  Mila
 
namespace  Mila::Dnn
 

Detailed Description

Configuration interface for the TransformerBlock in the Mila DNN framework.

Defines the TransformerBlockConfig class, providing a type-safe fluent interface for configuring TransformerBlock modules. Inherits from ComponentConfig CRTP base and adds TransformerBlock-specific options such as input shape, number of heads, and architectural variants.