1 parent 27f3551 commit 8a99ca9Copy full SHA for 8a99ca9
1 file changed
include/tvm/script/printer/doc.h
@@ -281,7 +281,12 @@ class LiteralDoc : public ExprDoc {
281
return LiteralDoc(IntImm::Int64(v), p);
282
}
283
284
- /*! rief Create an integer literal without narrowing its typed payload. */
+ /*!
285
+ * \brief Create an integer literal preserving its typed payload.
286
+ * \param v The typed integer value.
287
+ * \param p The object path.
288
+ * \return The integer literal.
289
+ */
290
static LiteralDoc Int(IntImm v, const ffi::Optional<AccessPath>& p) {
291
return LiteralDoc(std::move(v), p);
292
0 commit comments