|
Mila
Deep Neural Network Library
|
Definition of activation function types used throughout the Mila library. More...
#include <string>#include <stdexcept>Namespaces | |
| namespace | Mila |
| namespace | Mila::Dnn |
Enumerations | |
| enum class | Mila::Dnn::ActivationType { Mila::Dnn::None , Mila::Dnn::Relu , Mila::Dnn::Gelu , Mila::Dnn::Silu , Mila::Dnn::Tanh , Mila::Dnn::Sigmoid , Mila::Dnn::LeakyRelu , Mila::Dnn::Mish } |
| Enumeration of supported activation function types. More... | |
Functions | |
| std::string | Mila::Dnn::activationTypeToString (ActivationType type) |
| Converts an ActivationType enum value to its string representation. | |
| ActivationType | Mila::Dnn::stringToActivationType (const std::string &name) |
| Converts a string to its corresponding ActivationType enum value. | |
Definition of activation function types used throughout the Mila library.