ClikaRT::nn::MSELossOptions
struct
Header: ClikaRT/nn/generated/loss.h
Settings of MSELoss: chain the setters, or assign the fields.
Member functions
reduction(ops::Reduction)
MSELossOptions& reduction(ops::Reduction v)
Sets reduction, how the elementwise losses reduce.
Declared in ClikaRT/nn/generated/loss.h, line 36
reduction()
ops::Reduction reduction() const
Reads reduction.
Declared in ClikaRT/nn/generated/loss.h, line 38
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 40