Fix typos in the doc.

PiperOrigin-RevId: 326068303
Change-Id: I7ffc0560b3ba23055e6e5fe29166747748fbc1aa
This commit is contained in:
A. Unique TensorFlower 2020-08-11 11:50:51 -07:00 committed by TensorFlower Gardener
parent 47bd06cf21
commit 2940b356df

View File

@ -644,7 +644,7 @@ class MeanMetricWrapper(Mean):
@keras_export('keras.metrics.Accuracy')
class Accuracy(MeanMetricWrapper):
"""Calculates how often predictions equals labels.
"""Calculates how often predictions equal labels.
This metric creates two local variables, `total` and `count` that are used to
compute the frequency with which `y_pred` matches `y_true`. This frequency is
@ -686,7 +686,7 @@ class Accuracy(MeanMetricWrapper):
@keras_export('keras.metrics.BinaryAccuracy')
class BinaryAccuracy(MeanMetricWrapper):
"""Calculates how often predictions matches binary labels.
"""Calculates how often predictions match binary labels.
This metric creates two local variables, `total` and `count` that are used to
compute the frequency with which `y_pred` matches `y_true`. This frequency is