Skip to main content

ClikaRT::nn::HardswishOptions

struct

Header: ClikaRT/nn/generated/activation.h

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

Member functions​

inplace(bool)​

HardswishOptions& 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 697

inplace()​

bool inplace() const

Reads inplace.

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

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 702