ZihengJiang commented on a change in pull request #8200:
URL: https://github.com/apache/tvm/pull/8200#discussion_r647861397



##########
File path: src/runtime/container.cc
##########
@@ -185,7 +184,32 @@ 
TVM_REGISTER_GLOBAL("runtime.MapItems").set_body([](TVMArgs args, TVMRetValue* r
 TVM_DLL constexpr uint64_t DenseMapNode::kNextProbeLocation[];
 #endif
 
+// Closure
 TVM_REGISTER_OBJECT_TYPE(ClosureObj);
 
+// ShapeTuple
+TVM_REGISTER_OBJECT_TYPE(ShapeTupleObj);
+
+TVM_REGISTER_GLOBAL("runtime.ShapeTuple").set_body([](TVMArgs args, 
TVMRetValue* rv) {

Review comment:
       we cannot use set_body_typed here since we need to unwrap variable 
length argument?




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to