mx.nd.broadcast.mod

Description

Returns element-wise modulo of the input arrays with broadcasting.

Example:

x = [[ 8.,  8.,  8.],
[ 8.,  8.,  8.]]

y = [[ 2.],
[ 3.]]

broadcast_mod(x, y) = [[ 0.,  0.,  0.],
[ 2.,  2.,  2.]]

Arguments

Argument

Description

lhs

NDArray-or-Symbol.

First input to the function

rhs

NDArray-or-Symbol.

Second input to the function