From 57914fff86749c4c6c7a022f9abf0bec57fabb96 Mon Sep 17 00:00:00 2001 From: Masahiro Hiramori Date: Fri, 7 Jun 2024 18:32:28 +0900 Subject: [PATCH] [Relax] Add missing white spaces in error messages (#17067) add missing white spaces --- src/relax/op/tensor/unary.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/relax/op/tensor/unary.cc b/src/relax/op/tensor/unary.cc index 35ad0de2fc80..64e4b00af56e 100644 --- a/src/relax/op/tensor/unary.cc +++ b/src/relax/op/tensor/unary.cc @@ -75,10 +75,10 @@ TVM_REGISTER_OP("relax.clip") Expr clip(Expr x, Expr min, Expr max) { CHECK(min->IsInstance()) - << "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()) - << "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)});