Skip to content

Commit 1f4e3a4

Browse files
authored
Change the SUM_OF_PRETRAINED_RESNET18_PARAMS decimal values to resolve broken tests. (pytorch#2978)
1 parent a21ed3a commit 1f4e3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def sum_of_model_parameters(model):
1313
return s
1414

1515

16-
SUM_OF_PRETRAINED_RESNET18_PARAMS = -12703.9931640625
16+
SUM_OF_PRETRAINED_RESNET18_PARAMS = -12703.8974609375
1717

1818

1919
@unittest.skipIf('torchvision' in sys.modules,

0 commit comments

Comments
 (0)