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
fefe118c
Commit
fefe118c
authored
Jun 17, 2019
by
philipNoonan
Committed by
Francisco Massa
Jun 17, 2019
Browse files
Fix to alternative operator representation (#1031)
parent
3c81d474
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/csrc/models/resnet.cpp
torchvision/csrc/models/resnet.cpp
+1
-1
No files found.
torchvision/csrc/models/resnet.cpp
View file @
fefe118c
...
...
@@ -30,7 +30,7 @@ BasicBlock::BasicBlock(
int64_t
groups
,
int64_t
base_width
)
:
stride
(
stride
),
downsample
(
downsample
)
{
if
(
groups
!=
1
or
base_width
!=
64
)
{
if
(
groups
!=
1
||
base_width
!=
64
)
{
std
::
cerr
<<
"BasicBlock only supports groups=1 and base_width=64"
<<
std
::
endl
;
assert
(
false
);
...
...
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