Skip to main content

ClikaRT::nn::ThresholdOptions

struct

Header: ClikaRT/nn/generated/activation.h

Settings of Threshold: chain the setters, or assign the fields.

Member functions​

ThresholdOptions()​

explicit ThresholdOptions(double threshold, double value)

ThresholdOptions(threshold, value): the positional form.

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

threshold(double)​

ThresholdOptions& threshold(double v)

Sets threshold, the comparison bound.

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

threshold()​

double threshold() const

Reads threshold.

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

value(double)​

ThresholdOptions& value(double v)

Sets value, the replacement for elements at or below the bound.

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

value()​

double value() const

Reads value.

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

Data members​

threshold_​

double threshold_

The comparison bound. Required: set through the constructor.

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

value_​

double value_

The replacement for elements at or below the bound. Required: set through the constructor.

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