tf.keras.metrics.binary_accuracy

tf.keras.metrics.binary_accuracy(
    y_true,
    y_pred
)

Defined in tensorflow/python/keras/metrics.py.