This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 697c724e92 [Runtime] Add missing Type2Str for TVMByteArray (#14051)
697c724e92 is described below

commit 697c724e92d43ddd9d3123b9b1ae581703ac7b84
Author: wrongtest <wrongte...@gmail.com>
AuthorDate: Mon Feb 20 21:05:46 2023 +0800

    [Runtime] Add missing Type2Str for TVMByteArray (#14051)
    
    add Type2Str for TVMByteArray
---
 include/tvm/runtime/packed_func.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/tvm/runtime/packed_func.h 
b/include/tvm/runtime/packed_func.h
index 636700910d..81c051fcf2 100644
--- a/include/tvm/runtime/packed_func.h
+++ b/include/tvm/runtime/packed_func.h
@@ -1458,6 +1458,10 @@ template <>
 struct Type2Str<TVMArgValue> {
   static std::string v() { return "TVMArgValue"; }
 };
+template <>
+struct Type2Str<TVMByteArray> {
+  static std::string v() { return "TVMByteArray"; }
+};
 template <typename FType>
 struct Type2Str<TypedPackedFunc<FType>> {
   static std::string v() { return 
SignaturePrinter<function_signature<FType>>::F(); }

Reply via email to