用法:
mxnet.ndarray.op.broadcast_minus(lhs=None, rhs=None, out=None, name=None, **kwargs)
out:- 此函数的输出。
NDArray 或 NDArray 列表
参数:
返回:
返回类型:
通过广播返回输入数组的元素差异。
broadcast_minus
是函数broadcast_sub
的别名。例子:
x = [[ 1., 1., 1.], [ 1., 1., 1.]] y = [[ 0.], [ 1.]] broadcast_sub(x, y) = [[ 1., 1., 1.], [ 0., 0., 0.]] broadcast_minus(x, y) = [[ 1., 1., 1.], [ 0., 0., 0.]]
支持的稀疏操作:
broadcast_sub/minus(csr, dense(1D)) = dense broadcast_sub/minus(dense(1D), csr) = dense
相关用法
- Python mxnet.ndarray.op.broadcast_minimum用法及代码示例
- Python mxnet.ndarray.op.broadcast_mul用法及代码示例
- Python mxnet.ndarray.op.broadcast_mod用法及代码示例
- Python mxnet.ndarray.op.broadcast_maximum用法及代码示例
- Python mxnet.ndarray.op.broadcast_axes用法及代码示例
- Python mxnet.ndarray.op.broadcast_like用法及代码示例
- Python mxnet.ndarray.op.broadcast_lesser_equal用法及代码示例
- Python mxnet.ndarray.op.broadcast_lesser用法及代码示例
- Python mxnet.ndarray.op.broadcast_greater用法及代码示例
- Python mxnet.ndarray.op.broadcast_logical_and用法及代码示例
- Python mxnet.ndarray.op.broadcast_power用法及代码示例
- Python mxnet.ndarray.op.broadcast_logical_xor用法及代码示例
- Python mxnet.ndarray.op.broadcast_plus用法及代码示例
- Python mxnet.ndarray.op.broadcast_logical_or用法及代码示例
- Python mxnet.ndarray.op.broadcast_not_equal用法及代码示例
- Python mxnet.ndarray.op.broadcast_div用法及代码示例
- Python mxnet.ndarray.op.broadcast_to用法及代码示例
- Python mxnet.ndarray.op.broadcast_greater_equal用法及代码示例
- Python mxnet.ndarray.op.broadcast_add用法及代码示例
- Python mxnet.ndarray.op.broadcast_equal用法及代码示例
注:本文由纯净天空筛选整理自apache.org大神的英文原创作品 mxnet.ndarray.op.broadcast_minus。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。