Unverified Commit 7bfbc81a authored by Francisco Massa's avatar Francisco Massa Committed by GitHub
Browse files

Remove constants from DenseBlock (#1727)

parent 61763fa9
...@@ -92,7 +92,6 @@ class _DenseLayer(nn.Module): ...@@ -92,7 +92,6 @@ class _DenseLayer(nn.Module):
class _DenseBlock(nn.ModuleDict): class _DenseBlock(nn.ModuleDict):
_version = 2 _version = 2
__constants__ = ['layers']
def __init__(self, num_layers, num_input_features, bn_size, growth_rate, drop_rate, memory_efficient=False): def __init__(self, num_layers, num_input_features, bn_size, growth_rate, drop_rate, memory_efficient=False):
super(_DenseBlock, self).__init__() super(_DenseBlock, self).__init__()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment