mxnet.ndarray.sparse.broadcast_mul¶
-
mxnet.ndarray.sparse.
broadcast_mul
(lhs=None, rhs=None, out=None, name=None, **kwargs)¶ Returns element-wise product of the input arrays with broadcasting.
Example:
x = [[ 1., 1., 1.], [ 1., 1., 1.]] y = [[ 0.], [ 1.]] broadcast_mul(x, y) = [[ 0., 0., 0.], [ 1., 1., 1.]]
Supported sparse operations:
broadcast_mul(csr, dense(1D)) = csrDefined in src/operator/tensor/elemwise_binary_broadcast_op_basic.cc:L146
Parameters: Returns: out – The output of this function.
Return type: NDArray or list of NDArrays