diff --git a/paddle/cinn/ir/ir_base.h b/paddle/cinn/ir/ir_base.h index dcfc3dc9221ab9..9473142742129a 100644 --- a/paddle/cinn/ir/ir_base.h +++ b/paddle/cinn/ir/ir_base.h @@ -432,7 +432,6 @@ struct BinaryOpNode : public ExprNode { operands().resize(2); this->a() = a; this->b() = b; - // CHECK_EQ(a.type(), b.type()) << "the type of two argument not match"; } Expr& a() { return ExprNode::operand(0); } diff --git a/paddle/cinn/lang/compute.cc b/paddle/cinn/lang/compute.cc index 946b87857f66fe..da0f9b3e80b025 100644 --- a/paddle/cinn/lang/compute.cc +++ b/paddle/cinn/lang/compute.cc @@ -32,10 +32,7 @@ ir::Tensor Compute(const std::vector &domain, const std::vector &shape) { return Compute( domain, - [fn](const std::vector &axis) -> Expr { - // CHECK_EQ(axis.size(), 0); - return fn(); - }, + [fn](const std::vector &axis) -> Expr { return fn(); }, name, shape); }