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
a44a1630
Unverified
Commit
a44a1630
authored
Aug 30, 2019
by
Francisco Massa
Committed by
GitHub
Aug 30, 2019
Browse files
Fix lint for C++ (#1283)
parent
5537790b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
torchvision/csrc/models/densenet.cpp
torchvision/csrc/models/densenet.cpp
+3
-2
No files found.
torchvision/csrc/models/densenet.cpp
View file @
a44a1630
...
...
@@ -76,8 +76,9 @@ struct _TransitionImpl : torch::nn::SequentialImpl {
torch
::
nn
::
Conv2d
(
Options
(
num_input_features
,
num_output_features
,
1
)
.
stride
(
1
)
.
with_bias
(
false
)));
push_back
(
"pool"
,
torch
::
nn
::
Functional
([](
torch
::
Tensor
input
)
{
return
torch
::
avg_pool2d
(
input
,
2
,
2
,
0
,
false
,
true
);
}));
push_back
(
"pool"
,
torch
::
nn
::
Functional
([](
torch
::
Tensor
input
)
{
return
torch
::
avg_pool2d
(
input
,
2
,
2
,
0
,
false
,
true
);
}));
}
torch
::
Tensor
forward
(
torch
::
Tensor
x
)
{
...
...
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