Skip to content

Commit adf9738

Browse files
committed
Remove constants from DenseBlock (pytorch#1727)
1 parent 4347fc0 commit adf9738

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)