Use int64 in reduction instead of casting to int
casting to int could lead to issues in the following case:
- 64-bit Windows
- python 2
- shape bigger than 2**31
In that case, int would be 32-bit, but shapes could be bigger and stored
in long.
正在显示
请
注册
或者
登录
后发表评论