|
Mila
Deep Neural Network Library
|
Configuration interface for the CrossEntropy module in the Mila DNN framework. More...
#include <stdexcept>#include <vector>#include <cstdint>import Dnn.ComponentConfig;import Dnn.Module;Classes | |
| class | Mila::Dnn::CrossEntropyConfig |
| Configuration class for CrossEntropy module. More... | |
Namespaces | |
| namespace | Mila |
| namespace | Mila::Dnn |
Configuration interface for the CrossEntropy module in the Mila DNN framework.
Defines the CrossEntropyConfig class, providing a type-safe fluent interface for configuring CrossEntropy loss function modules. Inherits from ComponentConfig CRTP base and adds CrossEntropy-specific options such as vocabulary size and weight handling.