Skip to main content

ClikaRT::nn::HardsigmoidOptions

struct

Header: ClikaRT/nn/generated/activation.h

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

Member functions​

inplace(bool)​

HardsigmoidOptions& 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 644

inplace()​

bool inplace() const

Reads inplace.

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

Data members​

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 649