ClikaRT::nn::BatchNormOptions
struct
Header: ClikaRT/nn/batch_norm.h
Construction settings of BatchNorm beyond the channel count (a plain aggregate; assign the fields you need).
Data members
eps
double eps = 1e-5
Added to the variance before the square root. Default 1e-5.
Declared in ClikaRT/nn/batch_norm.h, line 52
affine
bool affine = true
Declares the per-channel weight (scale) and bias (shift) parameters. false normalizes without them. Default true.
Declared in ClikaRT/nn/batch_norm.h, line 55
activation
std::optional<ops::Activation> activation
A fused activation applied to the normalized result; absent applies none.
Declared in ClikaRT/nn/batch_norm.h, line 58
dtype
DataType dtype = DataType::Float32
The dtype the declared slots carry; a bound payload casts to it. Default Float32.
Declared in ClikaRT/nn/batch_norm.h, line 61
device
Device device = Device::cpu()
The placement of the declared slots. Default cpu.
Declared in ClikaRT/nn/batch_norm.h, line 63