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

Configuration interface for the GELU activation module in the Mila DNN framework. More...

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

Classes

class  Mila::Dnn::GeluConfig
 Configuration class for GELU module. More...
 

Namespaces

namespace  Mila
 
namespace  Mila::Dnn
 

Detailed Description

Configuration interface for the GELU activation module in the Mila DNN framework.

Defines the GeluConfig class, providing a type-safe fluent interface for configuring Gaussian Error Linear Unit (GELU) activation function modules. Inherits from ComponentConfig CRTP base and adds GELU-specific options: approximation method.

Exposed as part of the Gelu module via module partitions.