tf.equal

tf.equal

tf.equal

equal(
    x,
    y,
    name=None
)

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

See the guide: Control Flow > Comparison Operators

Returns the truth value of (x == y) element-wise.

NOTE: Equal supports broadcasting. More about broadcasting here

Args: