tf.math.subtract

View source on GitHub

Returns x - y element-wise.

tf.math.subtract(
    x, y, name=None
)

NOTE: Subtract supports broadcasting. More about broadcasting here

Args:

Returns:

A Tensor. Has the same type as x.