Skip to content

Commit

Permalink
update logging information in convolution.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyken17 committed Nov 11, 2021
1 parent 562fdab commit 3e0db60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/relay/op/nn/convolution.h
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,8 @@ bool Conv2DTransposeRel(const Array<Type>& types, int num_inputs, const Attrs& a
ICHECK(reporter->AssertEQ(indexdiv(param->channels, param->groups), wshape[1]))
<< "Conv2DTransposed: shape of weight is inconsistent with out_channels, "
<< " out_channels // groups != weight.shape[1] "
<< " out_channels=" << param->channels << " weight.shape=" << Array<IndexExpr>(wshape);
<< " out_channels=" << param->channels << " groups=" << param->groups
<< " weight.shape=" << Array<IndexExpr>(wshape);
}
if (!dshape_nchw[1].as<tir::AnyNode>() && !wshape[0].as<tir::AnyNode>()) {
ICHECK(reporter->AssertEQ(dshape_nchw[1], wshape[0]))
Expand Down

0 comments on commit 3e0db60

Please sign in to comment.