Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chohk88 committed Jul 20, 2024
1 parent 4ef711a commit 506b4d9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/py/dynamo/conversion/test_linear_aten.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,6 @@ class linear(nn.Module):
def __init__(self):
super().__init__()
self.weight = torch.rand(weight_shape)
# self.weight = torch.randn(weight_shape)
# # Note: When using torch.randn for weight initialization, the following assertion error occurs:
# AssertionError: Tensor-likes are not close!
# Mismatched elements: 323 / 2304 (14.0%)
# Greatest absolute difference: 0.015128374099731445 at index (1, 1, 139) (up to 0.001 allowed)
# Greatest relative difference: 3.242828845977783 at index (1, 1, 154) (up to 0.001 allowed)

if bias_shape:
self.bias = torch.randn(bias_shape)
Expand Down

0 comments on commit 506b4d9

Please sign in to comment.