We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pure=True
pure=T.bool(True)
1 parent 7c69921 commit 5258e66Copy full SHA for 5258e66
src/script/printer/tir/ir.cc
@@ -32,8 +32,7 @@ TVM_STATIC_IR_FUNCTOR(IRDocsifier, vtable)
32
if (dtype == d->cfg->int_dtype) {
33
return LiteralDoc::Int(imm->value, imm_p->Attr("value"));
34
} else if (dtype == DataType::Bool()) {
35
- return TIR(d, DType2Str(dtype))
36
- ->Call({LiteralDoc::Boolean(imm->value, imm_p->Attr("value"))});
+ return LiteralDoc::Boolean(imm->value, imm_p->Attr("value"));
37
} else {
38
return TIR(d, DType2Str(dtype))->Call({LiteralDoc::Int(imm->value, imm_p->Attr("value"))});
39
}
0 commit comments