mirror of https://github.com/llvm/torch-mlir
Fix multiline comment.
parent
d09d568553
commit
cec8af37be
|
@ -5186,8 +5186,7 @@ public:
|
||||||
return rewriter.notifyMatchFailure(op, "expected weight to have a rank");
|
return rewriter.notifyMatchFailure(op, "expected weight to have a rank");
|
||||||
}
|
}
|
||||||
unsigned rank = *maybeRank;
|
unsigned rank = *maybeRank;
|
||||||
// first 2 dimensions of weight corresponds to out_channels and in_channels / \
|
// first 2 dimensions of weight are out_channels and in_channels / groups
|
||||||
groups
|
|
||||||
if (rank < 3)
|
if (rank < 3)
|
||||||
return rewriter.notifyMatchFailure(
|
return rewriter.notifyMatchFailure(
|
||||||
op, "ConvPaddingOp weight must be at least 3 dimensional.");
|
op, "ConvPaddingOp weight must be at least 3 dimensional.");
|
||||||
|
|
Loading…
Reference in New Issue