ClikaRT::nn::CELU
class
Header: ClikaRT/nn/generated/activation.h
Inherits: ClikaRT::nn::Module
Continuously differentiable exponential linear unit: max(0, input) + min(0, alpha * (exp(input / alpha) - 1)). The module form of ClikaRT::ops::celu, which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.
Member functions
CELU(CELUOptions)
explicit CELU(CELUOptions options = {})
Constructs the module from options (every default when omitted).
Declared in ClikaRT/nn/generated/activation.h, line 284
CELU(double)
explicit CELU(double alpha)
CELU(alpha): the positional form of CELUOptions(alpha).
Declared in ClikaRT/nn/generated/activation.h, line 286
forward()
forward_impl, unwrapped: raises ClikaRT::Error on failure.
Declared in ClikaRT/nn/generated/activation.h, line 297
operator()()
Same as forward.
Declared in ClikaRT/nn/generated/activation.h, line 301
options()
const CELUOptions& options() const
The settings this module was constructed with.
Declared in ClikaRT/nn/generated/activation.h, line 305