[GitHub] [tvm] ZihengJiang commented on a change in pull request #8200: [RUNTIME] ShapeTuple Container

2021-06-09 Thread GitBox
ZihengJiang commented on a change in pull request #8200: URL: https://github.com/apache/tvm/pull/8200#discussion_r648739431 ## File path: include/tvm/runtime/container/shape_tuple.h ## @@ -0,0 +1,180 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or

[GitHub] [tvm] ZihengJiang commented on a change in pull request #8200: [RUNTIME] ShapeTuple Container

2021-06-08 Thread GitBox
ZihengJiang commented on a change in pull request #8200: URL: https://github.com/apache/tvm/pull/8200#discussion_r647965266 ## File path: src/relay/transforms/partial_eval.cc ## @@ -753,7 +753,7 @@ class PartialEvaluator : public ExprFunctor size_t GetFTValue(const PStatic&

[GitHub] [tvm] ZihengJiang commented on a change in pull request #8200: [RUNTIME] ShapeTuple Container

2021-06-08 Thread GitBox
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)

[GitHub] [tvm] ZihengJiang commented on a change in pull request #8200: [RUNTIME] ShapeTuple Container

2021-06-08 Thread GitBox
ZihengJiang commented on a change in pull request #8200: URL: https://github.com/apache/tvm/pull/8200#discussion_r647964668 ## File path: src/relay/transforms/pattern_utils.h ## @@ -441,7 +441,7 @@ static inline long double ToScalar(const runtime::NDArray& array, size_t i =

[GitHub] [tvm] ZihengJiang commented on a change in pull request #8200: [RUNTIME] ShapeTuple Container

2021-06-08 Thread GitBox
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

[GitHub] [tvm] ZihengJiang commented on a change in pull request #8200: [RUNTIME] ShapeTuple Container

2021-06-06 Thread GitBox
ZihengJiang commented on a change in pull request #8200: URL: https://github.com/apache/tvm/pull/8200#discussion_r646215772 ## File path: include/tvm/runtime/container/shape_tuple.h ## @@ -0,0 +1,96 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or