mx.nd.broadcast.maximum
¶
Description¶
Returns element-wise maximum of the input arrays with broadcasting.
This function compares two input arrays and returns a new array having the element-wise maxima.
Example:
x = [[ 1., 1., 1.],
[ 1., 1., 1.]]
y = [[ 0.],
[ 1.]]
broadcast_maximum(x, y) = [[ 1., 1., 1.],
[ 1., 1., 1.]]
Arguments¶
Argument |
Description |
---|---|
|
NDArray-or-Symbol. First input to the function |
|
NDArray-or-Symbol. Second input to the function |
Value¶
out
The result mx.ndarray
Link to Source Code: http://github.com/apache/incubator-mxnet/blob/1.6.0/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc#L81