Skip to main content

ClikaRT::nn::Maximum

class

Header: ClikaRT/nn/generated/elementwise.h
Inherits: ClikaRT::nn::Module

Elementwise maximum of input and other with broadcasting; a NaN in either operand yields NaN. The module form of ClikaRT::ops::maximum, which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.

Member functions​

Maximum()​

explicit Maximum(MaximumOptions options = {})

Constructs the module from options (every default when omitted).

Declared in ClikaRT/nn/generated/elementwise.h, line 356

forward()​

Tensor forward(Tensor input, Tensor other) const

forward_impl, unwrapped: raises ClikaRT::Error on failure.

Declared in ClikaRT/nn/generated/elementwise.h, line 368

operator()()​

Tensor operator()(Tensor input, Tensor other) const

Same as forward.

Declared in ClikaRT/nn/generated/elementwise.h, line 372

options()​

const MaximumOptions& options() const

The settings this module was constructed with.

Declared in ClikaRT/nn/generated/elementwise.h, line 376