Struct SoftshrinkOptions¶
Defined in File activation.h
Page Contents
Struct Documentation¶
-
struct SoftshrinkOptions¶
Options for the
Softshrink
module.Example:
Softshrink model(SoftshrinkOptions(42.42));
Public Functions
-
SoftshrinkOptions(double lambda = 0.5)¶
-
inline auto lambda(const double &new_lambda) -> decltype(*this)¶
the
lambda
value for the Softshrink formulation. Default: 0.5
-
inline auto lambda(double &&new_lambda) -> decltype(*this)¶
-
inline const double &lambda() const noexcept¶
-
inline double &lambda() noexcept¶
-
SoftshrinkOptions(double lambda = 0.5)¶