Skip to content

Commit

Permalink
Fix to alternative operator representation (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipNoonan authored and fmassa committed Jun 17, 2019
1 parent 3c81d47 commit fefe118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/csrc/models/resnet.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit fefe118

Please sign in to comment.