Skip to content

Commit

Permalink
Add inplace ops for sigmoid and tanh (#8358)
Browse files Browse the repository at this point in the history
  • Loading branch information
barney-s authored Nov 6, 2024
1 parent 7d6a4f2 commit 77abab2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions experimental/torch_xla2/torch_xla2/ops/jaten.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
torch.ops.aten.squeeze_: (torch.ops.aten.squeeze, True),
torch.ops.aten.clamp_: torch.ops.aten.clamp,
torch.ops.aten.clamp_min_: torch.ops.aten.clamp_min,
torch.ops.aten.sigmoid_: torch.ops.aten.sigmoid,
torch.ops.aten.tanh_: torch.ops.aten.tanh,
torch.ops.aten.ceil_: torch.ops.aten.ceil,
torch.ops.aten.logical_not_: torch.ops.aten.logical_not,
torch.ops.aten.unsqueeze_: torch.ops.aten.unsqueeze,
Expand Down

0 comments on commit 77abab2

Please sign in to comment.