struct LayerNorm {
&FloatTensor gamma;
&FloatTensor beta;
unsigned long dim;
float eps;
}Fields
[dim], init 1
[dim], init 0
1e-5
Methods
Parameterized (module.h): the trained tensors, and what a copy or a file carries.
= drop()
struct LayerNorm {
&FloatTensor gamma;
&FloatTensor beta;
unsigned long dim;
float eps;
}[dim], init 1
[dim], init 0
1e-5
Parameterized (module.h): the trained tensors, and what a copy or a file carries.
= drop()