a = tf.constant(1) b = tf.constant(2) tf.debugging.assert_equal(a, b, message="Tensors are not equal") __ __