tf.keras.ops.isclose

Return whether two tensors are element-wise almost equal.

Main aliases

tf.keras.ops.numpy.isclose

x1 First input tensor.
x2 Second input tensor.

Output boolean tensor.