Skip to content

Commit

Permalink
Use unsigned dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Aug 29, 2024
1 parent 57e0dce commit ec451fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndonnx/_core/_numericimpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def cumulative_sum(
f"Unsupported dtype parameter for cumulative_sum {dtype} due to missing kernel support"
)
else:
out = x.astype(_determine_reduce_op_dtype(x, None, dtypes.int64))
out = x.astype(_determine_reduce_op_dtype(x, None, dtypes.uint64))

out = from_corearray(
opx.cumsum(
Expand Down

0 comments on commit ec451fd

Please sign in to comment.