diff --git a/include/tvm/tir/expr.h b/include/tvm/tir/expr.h index b4787d6b0aed..93b04db7562a 100644 --- a/include/tvm/tir/expr.h +++ b/include/tvm/tir/expr.h @@ -337,6 +337,11 @@ class StringImmNode : public PrimExprNode { TVM_DECLARE_FINAL_OBJECT_INFO(StringImmNode, PrimExprNode); }; +class StringImm : public PrimExpr { + public: + TVM_DEFINE_OBJECT_REF_METHODS(StringImm, PrimExpr, StringImmNode); +}; + /*! * \brief Cast value from one data type to another. * \note The lanes of value should keep fixed.