Skip to main content

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 111

negative_slope()​

double negative_slope() const

Reads negative_slope.

Declared in ClikaRT/nn/generated/activation.h, line 113

Data members​

negative_slope_​

double negative_slope_ = 0.01

The negative-side slope. Default 0.01.

Declared in ClikaRT/nn/generated/activation.h, line 115