diff --git a/tensorflow/python/framework/dtypes.py b/tensorflow/python/framework/dtypes.py index ef596a795817a7e64272ea10d65ad35433622e82..85a5cc7444f66172a1f3e992791fa331b0d81ef2 100644 --- a/tensorflow/python/framework/dtypes.py +++ b/tensorflow/python/framework/dtypes.py @@ -209,7 +209,7 @@ class DType(object): (bool, string, complex64, complex128)): raise TypeError("Cannot find maximum value of %s." % self) - # there is no simple way to get the min value of a dtype, we have to check + # there is no simple way to get the max value of a dtype, we have to check # float and int types separately try: return np.finfo(self.as_numpy_dtype()).max