Skip to content

Commit

Permalink
Remove constants from DenseBlock (#1727) (#1744)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassa authored Jan 13, 2020
1 parent 8d5e86a commit 85b8fbf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchvision/models/densenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def forward(self, input): # noqa: F811

class _DenseBlock(nn.ModuleDict):
_version = 2
__constants__ = ['layers']

def __init__(self, num_layers, num_input_features, bn_size, growth_rate, drop_rate, memory_efficient=False):
super(_DenseBlock, self).__init__()
Expand Down

0 comments on commit 85b8fbf

Please sign in to comment.