提交 9989c686 authored 作者: Frederic Bastien's avatar Frederic Bastien

Added some documentation.

上级 55de6257
......@@ -1057,6 +1057,7 @@ class CAReduce(Op):
if input.type.dtype in ["float32","float64"]:
identity = "-__builtin_inf()"
elif input.type.dtype.startswith("uint"):
# numpy1.5.1 don't define NPY_MIN_UINT*
identity = "0"
else:
identity = "NPY_MIN_"+str(input.type.dtype).upper()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论