Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
7bfbc81a
"vscode:/vscode.git/clone" did not exist on "54929942517c89ae946cf66d12897d3c314828d7"
Unverified
Commit
7bfbc81a
authored
Jan 13, 2020
by
Francisco Massa
Committed by
GitHub
Jan 13, 2020
Browse files
Remove constants from DenseBlock (#1727)
parent
61763fa9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
torchvision/models/densenet.py
torchvision/models/densenet.py
+0
-1
No files found.
torchvision/models/densenet.py
View file @
7bfbc81a
...
@@ -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__
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment