Skip to content

Commit

Permalink
Fix broken build (pytorch#4281)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch#4281

Reviewed By: tracelogfb

Differential Revision: D20375661

fbshipit-source-id: d79a4f18939d568e5f84ec8017be1d53a3ed3463
  • Loading branch information
jackm321 authored and facebook-github-bot committed Mar 11, 2020
1 parent 41790d2 commit 26bab59
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Graph/Graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2605,11 +2605,10 @@ ChannelwiseQuantizedConvolutionNode *Function::createChannelwiseQuantizedConv(
DCHECK(dyn_cast<Constant>(filter.getNode()))
<< "filter input to ChannelwiseQuantizedConvolutionNode must be a "
"Constant";
"must be a Constant.";

DCHECK(dyn_cast<Constant>(scales.getNode()))
<< "scales input to ChannelwiseQuantizedConvolutionNode must a Constant";
"be a Constant in order to quantize the bias";
<< "scales input to ChannelwiseQuantizedConvolutionNode must a Constant "
"in order to quantize the bias";

DCHECK(dyn_cast<Constant>(offsets.getNode()))
<< "offsets input to ChannelwiseQuantizedConvolutionNode must be a"
Expand Down

0 comments on commit 26bab59

Please sign in to comment.