ClikaRT::nn::SmoothL1Loss
class
Header: ClikaRT/nn/generated/loss.h
Inherits: ClikaRT::nn::Module
Squared error below beta, absolute error above it, between input and target. The module form of ClikaRT::ops::smooth_l1_loss, which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.
Member functions
SmoothL1Loss()
explicit SmoothL1Loss(SmoothL1LossOptions options = {})
Constructs the module from options (every default when omitted).
Declared in ClikaRT/nn/generated/loss.h, line 154
forward()
forward_impl, unwrapped: raises ClikaRT::Error on failure.
Declared in ClikaRT/nn/generated/loss.h, line 167
operator()()
Same as forward.
Declared in ClikaRT/nn/generated/loss.h, line 171
options()
const SmoothL1LossOptions& options() const
The settings this module was constructed with.
Declared in ClikaRT/nn/generated/loss.h, line 175