Mila
Deep Neural Network Library
|
Implementation of Layer Normalization module for neural networks. More...
#include <iostream>
#include <sstream>
#include <memory>
#include <string>
#include <vector>
#include <type_traits>
#include <cstdint>
#include <stdexcept>
import Serialization.ModelArchive;
import Compute.CpuMemoryResource;
import Compute.CudaMemoryResource;
import Dnn.Modules.LayerNorm:Config;
import Compute.ComputeDevice;
import Compute.OperationAttributes;
import Compute.OperationRegistry;
import Dnn.Tensor;
import Dnn.TensorTraits;
import Compute.Precision;
import Compute.DeviceContext;
import Dnn.Module;
import Compute.DeviceType;
import Compute.OperationBase;
import Compute.UnaryOperation;
import Compute.MemoryResource;
Classes | |
class | Mila::Dnn::LayerNorm< TDeviceType, TInput, TOutput > |
Layer Normalization module. More... | |
Namespaces | |
namespace | Mila |
namespace | Mila::Dnn |
Typedefs | |
template<typename TInput = float, typename TOutput = TInput> | |
using | Mila::Dnn::CpuLayerNorm = LayerNorm< DeviceType::Cpu, TInput, TOutput > |
Type alias for CPU-based layer normalization module with customizable tensor types. | |
template<typename TInput = float, typename TOutput = TInput> | |
using | Mila::Dnn::CudaLayerNorm = LayerNorm< DeviceType::Cuda, TInput, TOutput > |
Type alias for CUDA-based layer normalization module with customizable tensor types. | |
Implementation of Layer Normalization module for neural networks.