Skip to content

Commit

Permalink
fix: update torch frontnend Tensor method cumprod's arg defaults to m…
Browse files Browse the repository at this point in the history
…atch with native torch
  • Loading branch information
Ishticode committed Jan 22, 2024
1 parent 4f9c684 commit e62f5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/functional/frontends/torch/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ def item(self):

@numpy_to_torch_style_args
@with_unsupported_dtypes({"2.1.2 and below": ("float16",)}, "torch")
def cumprod(self, dim, dtype):
def cumprod(self, dim, dtype=None):
return torch_frontend.cumprod(self, dim, dtype=dtype)

@numpy_to_torch_style_args
Expand Down

0 comments on commit e62f5b6

Please sign in to comment.