Method Max
Max(TensorFloat[], TensorFloat)
Performs an element-wise Max
math operation: f(x1, x2 ... xn) = max(x1, x2 ... xn).
This supports numpy-style broadcasting of input tensors.
Declaration
void Max(TensorFloat[] inputs, TensorFloat O)
Parameters
Type | Name | Description |
---|---|---|
TensorFloat[] | inputs | The input tensors. |
TensorFloat | O | The output tensor to be computed and filled. |
Max(TensorInt[], TensorInt)
Performs an element-wise Max
math operation: f(x1, x2 ... xn) = max(x1, x2 ... xn).
This supports numpy-style broadcasting of input tensors.
Declaration
void Max(TensorInt[] inputs, TensorInt O)
Parameters
Type | Name | Description |
---|---|---|
TensorInt[] | inputs | The input tensors. |
TensorInt | O | The output tensor to be computed and filled. |