Update metric_ops.py (#16712)
authorChris Drake <cjdrake@users.noreply.github.com>
Sat, 3 Feb 2018 00:34:55 +0000 (16:34 -0800)
committerAndrew Harp <andrewharp@users.noreply.github.com>
Sat, 3 Feb 2018 00:34:55 +0000 (19:34 -0500)
tensorflow/contrib/metrics/python/ops/metric_ops.py

index 55946c1..c2340d0 100644 (file)
@@ -739,7 +739,7 @@ def _streaming_confusion_matrix_at_thresholds(predictions,
   else:
     for include in includes:
       if include not in all_includes:
-        raise ValueError('Invaild key: %s.' % include)
+        raise ValueError('Invalid key: %s.' % include)
 
   predictions, labels, weights = metrics_impl._remove_squeezable_dimensions(  # pylint: disable=protected-access
       predictions, labels, weights)