Skip to content

Commit 4e94499

Browse files
author
Dmytro Dzhulgakov
committed
lint
1 parent da0224d commit 4e94499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4675,7 +4675,7 @@ class CustomState(nn.Module):
46754675
def __init__(self):
46764676
super(CustomState, self).__init__()
46774677
self.param = torch.nn.Parameter(torch.ones(1))
4678-
self.sub = torch.nn.Linear(5,5)
4678+
self.sub = torch.nn.Linear(5, 5)
46794679

46804680
def _save_to_state_dict(self, destination, prefix, keep_vars):
46814681
destination[prefix + "serialized"] = self.param.data + 1

0 commit comments

Comments
 (0)