ClikaRT::nn::InstanceNormOptions
struct
Header: ClikaRT/nn/instance_norm.h
Construction settings of InstanceNorm 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/instance_norm.h, line 50
affine
bool affine = false
Declares the per-channel weight (scale) and bias (shift) parameters. Default false.
Declared in ClikaRT/nn/instance_norm.h, line 53
track_running_stats
bool track_running_stats = false
Declares the running_mean / running_var buffers; when bound they replace the per-instance statistics. Default false.
Declared in ClikaRT/nn/instance_norm.h, line 56
activation
std::optional<ops::Activation> activation
A fused activation applied to the normalized result; absent applies none.
Declared in ClikaRT/nn/instance_norm.h, line 59
dtype
DataType dtype = DataType::Float32
The dtype the declared slots carry; a bound payload casts to it. Default Float32.
Declared in ClikaRT/nn/instance_norm.h, line 62
device
Device device = Device::cpu()
The placement of the declared slots. Default cpu.
Declared in ClikaRT/nn/instance_norm.h, line 64