Skip to main content

ClikaRT::nn::GroupNormOptions

struct

Header: ClikaRT/nn/group_norm.h

Construction settings of GroupNorm beyond the group and channel counts (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/group_norm.h, line 42

affine​

bool affine = true

Declares the per-channel weight (scale) and bias (shift) parameters. Default true.

Declared in ClikaRT/nn/group_norm.h, line 45

activation​

std::optional<ops::Activation> activation

A fused activation applied to the normalized result; absent applies none.

Declared in ClikaRT/nn/group_norm.h, line 48

dtype​

The dtype the declared slots carry; a bound payload casts to it. Default Float32.

Declared in ClikaRT/nn/group_norm.h, line 51

device​

Device device = Device::cpu()

The placement of the declared slots. Default cpu.

Declared in ClikaRT/nn/group_norm.h, line 53