Skip to content

Commit

Permalink
update _inplace_to_out_place
Browse files Browse the repository at this point in the history
  • Loading branch information
beverlylytle committed Dec 12, 2024
1 parent e3f9443 commit 510d925
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thunder/torch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1910,6 +1910,8 @@ def tanhshrink(a: TensorLike, /) -> TensorLike:
return a - tanh(a)


_inplace_to_out_of_place[tanhshrink] = tanhshrink, -1

#
# Elementwise binary operations
#
Expand Down

0 comments on commit 510d925

Please sign in to comment.