tf.subtract

tf.subtract

tf.subtract

subtract(
    x,
    y,
    name=None
)

Defined in tensorflow/python/ops/math_ops.py.

See the guide: Math > Arithmetic Operators

Returns x - y element-wise.

NOTE: tf.subtract supports broadcasting. More about broadcasting 登录查看完整内容