Uncomment only one /device <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/device ascend/device gpu/device cpu
Software Environment:
MindSpore version (source or binary):
Python version (e.g., Python 3.7.5):
OS platform and distribution (e.g., Linux Ubuntu 16.04):
GCC/Compiler version (if compiled from source):
Describe the current behavior
When I use the function mindspore.ops.cummax(), the return dtype is Int64 as pytorch. But when I use mindspore.ops.cummin(), the return dtype is Int32. The two different dtype will bring some error when develop.
Environment
Hardware Environment(
Ascend
/GPU
/CPU
):Software Environment:
Describe the current behavior
When I use the function
mindspore.ops.cummax()
, the return dtype is Int64 as pytorch. But when I usemindspore.ops.cummin()
, the return dtype is Int32. The two different dtype will bring some error when develop.Describe the expected behavior
These two return values are both Int64.
Steps to reproduce the issue
Related log / screenshot
Special notes for this issue