ClikaRT::nn::LeakyReLUOptions
struct
Header: ClikaRT/nn/generated/activation.h
Settings of LeakyReLU: chain the setters, or assign the fields.
Member functions
negative_slope(double)
LeakyReLUOptions& negative_slope(double v)
Sets negative_slope, the negative-side slope.
Declared in ClikaRT/nn/generated/activation.h, line 146
negative_slope()
double negative_slope() const
Reads negative_slope.
Declared in ClikaRT/nn/generated/activation.h, line 148
inplace(bool)
LeakyReLUOptions& inplace(bool v)
Sets inplace, whether the forward writes the result into its input and returns that input.
Declared in ClikaRT/nn/generated/activation.h, line 154
inplace()
bool inplace() const
Reads inplace.
Declared in ClikaRT/nn/generated/activation.h, line 156
Data members
negative_slope_
double negative_slope_ = 0.01
The negative-side slope. Default 0.01.
Declared in ClikaRT/nn/generated/activation.h, line 150
inplace_
bool inplace_ = false
Whether the forward writes the result into its input and returns that input. Default false.
Declared in ClikaRT/nn/generated/activation.h, line 159