Skip to content

Commit

Permalink
Fixed the failing tests for the trunc method in PyTorch frontend. (iv…
Browse files Browse the repository at this point in the history
…y-llc#21452)

Co-authored-by: jkeane508 jameskeane508@gmail.com
  • Loading branch information
he11owthere authored Aug 8, 2023
1 parent ee90fd5 commit b4102f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ivy/functional/frontends/torch/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,9 @@ def atan2_(self, other):
def fmin(self, other):
return torch_frontend.fmin(self, other)

@with_unsupported_dtypes({"2.0.1 and below": ("float16", "complex")}, "torch")
@with_unsupported_dtypes(
{"2.0.1 and below": ("float16", "bfloat16", "complex")}, "torch"
)
def trunc(self):
return torch_frontend.trunc(self)

Expand Down

0 comments on commit b4102f4

Please sign in to comment.