We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad2237 commit 00fd330Copy full SHA for 00fd330
torchvision/models/mnasnet.py
@@ -93,11 +93,11 @@ def _get_depths(alpha: float) -> List[int]:
93
class MNASNet(torch.nn.Module):
94
""" MNASNet, as described in https://arxiv.org/pdf/1807.11626.pdf. This
95
implements the B1 variant of the model.
96
- >>> model = MNASNet(1000, 1.0)
+ >>> model = MNASNet(1.0, num_classes=1000)
97
>>> x = torch.rand(1, 3, 224, 224)
98
>>> y = model(x)
99
>>> y.dim()
100
- 1
+ 2
101
>>> y.nelement()
102
1000
103
"""
0 commit comments