maximum¶
dragon.math.
maximum
(
inputs,
**kwargs
)[source]¶Compute the maximum value of given two inputs.
\[\text{out} = \max(\text{input1}, \text{input2}) \]- Parameters:
- inputs (Sequence[Union[dragon.Tensor, number]]) – The input1 and input2 tensor.
- Returns:
dragon.Tensor – The output tensor.