Skip to content

Commit

Permalink
fix make_fx_tosa and format
Browse files Browse the repository at this point in the history
  • Loading branch information
qingyunqu committed Apr 28, 2024
1 parent 69d4cbb commit dda24af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions projects/pt1/e2e_testing/xfail_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1937,6 +1937,7 @@
# failed to legalize operation 'torch.operator'
"ElementwisePreluModule_basic",
"ElementwisePreluStaticModule_basic",
"ElementwiseLogSigmoidModule_basic",
# Shape Related failures
"PrimListUnpackNumMismatchModule_basic",
"ReshapeExpandModule_basic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2110,16 +2110,17 @@ def ElementwiseLogitModule_basic(module, tu: TestUtils):


class ElementwiseLogSigmoidModule(torch.nn.Module):

def __init__(self):
super().__init__()
self.m = torch.nn.LogSigmoid()

@export
@annotate_args([
None,
([-1, -1], torch.float32, True),
])
@annotate_args(
[
None,
([-1, -1], torch.float32, True),
]
)
def forward(self, a):
return self.m(a)

Expand Down

0 comments on commit dda24af

Please sign in to comment.