|
Mila 0.13.48
Deep Neural Network Library
|
Defines the operation types supported by the compute framework. More...
#include <string>#include <stdexcept>Namespaces | |
| namespace | Mila |
| Mila main API namespace. | |
| namespace | Mila::Dnn |
| namespace | Mila::Dnn::Compute |
| namespace | Mila::Dnn::Compute::OperationNames |
Functions | |
| std::string_view | Mila::Dnn::Compute::operationTypeToString (OperationType op) |
Variables | |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::CrossEntropy = "CrossEntropyOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Dropout = "DropoutOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Fused = "FusedOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Gelu = "GeluOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::GroupedQueryAttention = "GroupedQueryAttentionOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::LayerNorm = "LayerNormOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Linear = "LinearOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Lpe = "LpeOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::MultiHeadAttention = "MultiHeadAttentionOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Residual = "ResidualOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::RmsNorm = "RmsNormOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Rope = "RopeOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Sampling = "SamplingOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Softmax = "SoftmaxOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::SoftmaxCrossEntropy = "SoftmaxCrossEntropyOp" |
| WIP — targeted for Llama training. | |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::Swiglu = "SwigluOp" |
| constexpr std::string_view | Mila::Dnn::Compute::OperationNames::TokenEmbedding = "TokenEmbeddingOp" |
Defines the operation types supported by the compute framework.
ARCHITECTURAL NOTE (TODO): OperationType is an internal dispatch key used by the compute layer. It is not part of the public Mila API — ComponentType (Dnn.ComponentType) is the user-facing component identity. OperationType should be moved to Dnn::Core and removed from the public Mila.ixx re-exports so it is inaccessible to library consumers. Operations are an implementation detail of Components; users should never need to reference OperationType directly.