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

Normalization layer type enumeration used by Transformer components. More...

#include <string>
#include <stdexcept>

Namespaces

namespace  Mila
 Mila main API namespace.
namespace  Mila::Dnn

Enumerations

enum class  Mila::Dnn::NormType { Mila::Dnn::LayerNorm , Mila::Dnn::RMSNorm }
 Normalization type selection. More...

Functions

std::string Mila::Dnn::normTypeToString (NormType n)
 Convert NormType to string.
NormType Mila::Dnn::stringToNormType (const std::string &v)
 Parse string to NormType.

Detailed Description

Normalization layer type enumeration used by Transformer components.