ClikaRT::nn::DivOptions
struct
Header: ClikaRT/nn/generated/elementwise.h
Settings of Div: chain the setters, or assign the fields.
Member functions
rounding_mode(ops::RoundingMode)
DivOptions& rounding_mode(ops::RoundingMode v)
Sets rounding_mode, ops::RoundingMode::None is true division; Trunc rounds the quotient toward zero; Floor toward negative infinity.
Declared in ClikaRT/nn/generated/elementwise.h, line 205
rounding_mode()
ops::RoundingMode rounding_mode() const
Reads rounding_mode.
Declared in ClikaRT/nn/generated/elementwise.h, line 207
activation(ops::Activation)
DivOptions& activation(ops::Activation v)
Sets activation, a fused elementwise epilogue applied after the rounding; float inputs only.
Declared in ClikaRT/nn/generated/elementwise.h, line 215
activation()
ops::Activation activation() const
Reads activation.
Declared in ClikaRT/nn/generated/elementwise.h, line 217
Data members
rounding_mode_
ops::RoundingMode rounding_mode_ = ops::RoundingMode::None
ops::RoundingMode::None is true division; Trunc rounds the quotient toward zero; Floor toward negative infinity. Default ops::RoundingMode::None.
Declared in ClikaRT/nn/generated/elementwise.h, line 211
activation_
ops::Activation activation_ = ops::Activation::Identity
A fused elementwise epilogue applied after the rounding; float inputs only. Default ops::Activation::Identity.
Declared in ClikaRT/nn/generated/elementwise.h, line 220