Skip to main content

ClikaRT::nn::ReLUOptions

struct

Header: ClikaRT/nn/generated/activation.h

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

Member functions​

inplace(bool)​

ReLUOptions& 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 42

inplace()​

bool inplace() const

Reads inplace.

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

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 47