tf.keras.backend.equal

tf.keras.backend.equal(
    x,
    y
)

Defined in tensorflow/python/keras/_impl/keras/backend.py.

Element-wise equality between two tensors.

Arguments:

  • x: Tensor or variable.
  • y: Tensor or variable.

Returns:

A bool tensor.