sunggg commented on code in PR #15244:
URL: https://github.com/apache/tvm/pull/15244#discussion_r1297419250


##########
src/support/base64.h:
##########
@@ -293,6 +293,40 @@ class Base64OutStream : public dmlc::Stream {
     }
   }
 };
+
+inline size_t b64strlen(const std::string b64str) {
+  ICHECK(b64str.size() % 4 == 0) << "invalid base64 encoding";

Review Comment:
   Ah, I see. I moved them to contrib side 
(`src/contrib/torch/tvm_module_wrapper/RuntimeModuleWrapperTVM.cc`) since it is 
the only user currently. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to