From a672d8c520e6dc41fd274f586f25b216b6e3d320 Mon Sep 17 00:00:00 2001 From: v420v Date: Sat, 1 Apr 2023 10:47:40 +0900 Subject: [PATCH] Fix typo in comment --- .../projects/timelines/scripts/models/earlybird/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/metrics.py b/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/metrics.py index 6919914f8..c2a9478b2 100644 --- a/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/metrics.py +++ b/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/metrics.py @@ -52,7 +52,7 @@ def get_multi_binary_class_metric_fn(metrics, classes=None, class_dim=1): num_labels = shape[class_dim] # If we are doing multi-class / multi-label metric, the number of classes / labels must - # be know at graph construction time. This dimension cannot have size None. + # be known at graph construction time. This dimension cannot have size None. assert num_labels is not None, "The multi-metric dimension cannot be None." assert classes is None or len(classes) == num_labels, ( "Number of classes must match the number of labels")