ClikaRT::nn::MSELoss
class
Header: ClikaRT/nn/generated/loss.h
Inherits: ClikaRT::nn::Module
Mean squared error between input and target. The module form of ClikaRT::ops::mse_loss, which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.
Member functions
MSELoss()
explicit MSELoss(MSELossOptions options = {})
Constructs the module from options (every default when omitted).
Declared in ClikaRT/nn/generated/loss.h, line 50
forward()
forward_impl, unwrapped: raises ClikaRT::Error on failure.
Declared in ClikaRT/nn/generated/loss.h, line 62
operator()()
Same as forward.
Declared in ClikaRT/nn/generated/loss.h, line 66
options()
const MSELossOptions& options() const
The settings this module was constructed with.
Declared in ClikaRT/nn/generated/loss.h, line 70