ClikaRT::nn::Mul
class
Header: ClikaRT/nn/generated/elementwise.h
Inherits: ClikaRT::nn::Module
Multiplies input by other elementwise with broadcasting, then the optional fused activation. The module form of ClikaRT::ops::mul, which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.
Member functions
Mul()
explicit Mul(MulOptions options = {})
Constructs the module from options (every default when omitted).
Declared in ClikaRT/nn/generated/elementwise.h, line 169
forward()
Tensor forward(Tensor input, ScalarOrTensor other) const
forward_impl, unwrapped: raises ClikaRT::Error on failure.
Declared in ClikaRT/nn/generated/elementwise.h, line 182
operator()()
Tensor operator()(Tensor input, ScalarOrTensor other) const
Same as forward.
Declared in ClikaRT/nn/generated/elementwise.h, line 186
options()
const MulOptions& options() const
The settings this module was constructed with.
Declared in ClikaRT/nn/generated/elementwise.h, line 190