ClikaRT::nn::HuberLossOptions
struct
Header: ClikaRT/nn/generated/loss.h
Settings of HuberLoss: chain the setters, or assign the fields.
Member functions
reduction(ops::Reduction)
HuberLossOptions& reduction(ops::Reduction v)
Sets reduction, how the elementwise losses reduce.
Declared in ClikaRT/nn/generated/loss.h, line 188
reduction()
ops::Reduction reduction() const
Reads reduction.
Declared in ClikaRT/nn/generated/loss.h, line 190
delta(double)
HuberLossOptions& delta(double v)
Sets delta, the switch point between the quadratic and the linear regime.
Declared in ClikaRT/nn/generated/loss.h, line 196
delta()
double delta() const
Reads delta.
Declared in ClikaRT/nn/generated/loss.h, line 198
Data members
reduction_
ops::Reduction reduction_ = ops::Reduction::Mean
How the elementwise losses reduce. Default ops::Reduction::Mean.
Declared in ClikaRT/nn/generated/loss.h, line 192
delta_
double delta_ = 1.0
The switch point between the quadratic and the linear regime. Default 1.0.
Declared in ClikaRT/nn/generated/loss.h, line 201