提交 2d0dcd9f 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Fix comment.

Change: 125780396
上级 331e724d
...@@ -209,7 +209,7 @@ class DType(object): ...@@ -209,7 +209,7 @@ class DType(object):
(bool, string, complex64, complex128)): (bool, string, complex64, complex128)):
raise TypeError("Cannot find maximum value of %s." % self) 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 # float and int types separately
try: try:
return np.finfo(self.as_numpy_dtype()).max return np.finfo(self.as_numpy_dtype()).max
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册