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



##########
File path: python/tvm/runtime/container.py
##########
@@ -137,3 +137,24 @@ def __from_tvm_object__(cls, obj):
         val = str.__new__(cls, content)
         val.__tvm_object__ = obj
         return val
+
+
+@tvm._ffi.register_object("runtime.ShapeTuple")
+class ShapeTuple(Object):

Review comment:
       the iteration has been supported by `__getitem__`, see the test case 




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