Skip to content

Commit

Permalink
Merge branch 'master' into models/mobilenetv3
Browse files Browse the repository at this point in the history
  • Loading branch information
datumbox authored Dec 17, 2020
2 parents c189ae1 + 4cbe714 commit 5030435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchvision/models/mnasnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ def _get_depths(alpha: float) -> List[int]:
class MNASNet(torch.nn.Module):
""" MNASNet, as described in https://arxiv.org/pdf/1807.11626.pdf. This
implements the B1 variant of the model.
>>> model = MNASNet(1000, 1.0)
>>> model = MNASNet(1.0, num_classes=1000)
>>> x = torch.rand(1, 3, 224, 224)
>>> y = model(x)
>>> y.dim()
1
2
>>> y.nelement()
1000
"""
Expand Down

0 comments on commit 5030435

Please sign in to comment.