Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added logaddexp2 method to the PyTorch frontend #21804

Merged
merged 5 commits into from
Dec 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update logaddexp2 dtype support for torch
  • Loading branch information
NripeshN committed Dec 23, 2023
commit 9fbe6404b79fb6232387b0af60041de0468b2e41
2 changes: 1 addition & 1 deletion ivy/functional/frontends/torch/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1855,7 +1855,7 @@ def backward(self, gradient=None, retain_graph=None, create_graph=False):
def logaddexp(self, other):
return torch_frontend.logaddexp(self, other)

@with_unsupported_dtypes({"2.0.1 and below": ("float16",)}, "torch")
@with_unsupported_dtypes({"2.1.2 and below": ("float16",)}, "torch")
def logaddexp2(self, other):
self.ivy_array = torch_frontend.logaddexp2(self, other).ivy_array
return self
Expand Down
Loading