Skip to content

Commit

Permalink
[Relax] Add missing white spaces in error messages (#17067)
Browse files Browse the repository at this point in the history
add missing white spaces
  • Loading branch information
mshr-h authored Jun 7, 2024
1 parent 1f4c568 commit 57914ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/relax/op/tensor/unary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ TVM_REGISTER_OP("relax.clip")

Expr clip(Expr x, Expr min, Expr max) {
CHECK(min->IsInstance<PrimValueNode>())
<< "The argument `min` of relax.clip is expected to be a PrimValue, but got"
<< "The argument `min` of relax.clip is expected to be a PrimValue, but got "
<< min->GetTypeKey();
CHECK(max->IsInstance<PrimValueNode>())
<< "The argument `max` of relax.clip is expected to be a PrimValue, but got"
<< "The argument `max` of relax.clip is expected to be a PrimValue, but got "
<< max->GetTypeKey();
static const Op& op = Op::Get("relax.clip");
return Call(op, {std::move(x), std::move(min), std::move(max)});
Expand Down

0 comments on commit 57914ff

Please sign in to comment.