Skip to content

Commit 85b8fbf

Browse files
authored
Remove constants from DenseBlock (#1727) (#1744)
1 parent 8d5e86a commit 85b8fbf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchvision/models/densenet.py

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def forward(self, input): # noqa: F811
9292

9393
class _DenseBlock(nn.ModuleDict):
9494
_version = 2
95-
__constants__ = ['layers']
9695

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

0 commit comments

Comments
 (0)