提交 f586678d authored 作者: Frederic Bastien's avatar Frederic Bastien

Update comment

上级 fa016770
......@@ -1549,7 +1549,7 @@ class CAReduce(Op):
if input.type.dtype in ["float32", "float64"]:
identity = "__builtin_inf()"
elif input.type.dtype == 'bool':
# numpy does not define NPY_MIN_UINT* and NPY_MAX_BOOL
# numpy does not define NPY_MAX_BOOL
identity = "1"
else:
identity = "NPY_MAX_" + str(input.type.dtype).upper()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论