Method Max
Max(params 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
public TensorFloat Max(params TensorFloat[] tensors)
Parameters
Type | Name | Description |
---|---|---|
TensorFloat[] | tensors | The input tensors. |
Returns
Type | Description |
---|---|
TensorFloat | The computed output tensor. |
Max(params 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
public TensorInt Max(params TensorInt[] tensors)
Parameters
Type | Name | Description |
---|---|---|
TensorInt[] | tensors | The input tensors. |
Returns
Type | Description |
---|---|
TensorInt | The computed output tensor. |