We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d5e86a commit 85b8fbfCopy full SHA for 85b8fbf
torchvision/models/densenet.py
@@ -92,7 +92,6 @@ def forward(self, input): # noqa: F811
92
93
class _DenseBlock(nn.ModuleDict):
94
_version = 2
95
- __constants__ = ['layers']
96
97
def __init__(self, num_layers, num_input_features, bn_size, growth_rate, drop_rate, memory_efficient=False):
98
super(_DenseBlock, self).__init__()
0 commit comments