[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-12-07 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r764394614 ## File path: python/tvm/script/parser.py ## @@ -1110,6 +1145,32 @@ def transform_TypeConstant(self, node): """ return node.value +def

[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-12-07 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r764391434 ## File path: python/tvm/script/parser.py ## @@ -276,6 +280,22 @@ def parse_arg_list(self, func, node_call): reader = CallArgumentReader(func_name,

[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-12-07 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r764256370 ## File path: python/tvm/script/parser.py ## @@ -276,6 +280,22 @@ def parse_arg_list(self, func, node_call): reader = CallArgumentReader(func_name,

[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-12-03 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r762127343 ## File path: tests/python/unittest/test_tvmscript_syntax_sugar.py ## @@ -0,0 +1,72 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or

[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-12-03 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r762127343 ## File path: tests/python/unittest/test_tvmscript_syntax_sugar.py ## @@ -0,0 +1,72 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or

[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-12-02 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r761493148 ## File path: python/tvm/script/tir/ty.py ## @@ -67,6 +68,71 @@ def __getitem__(self, vtypes): return ConcreteType(tvm.ir.TupleType([vtype.evaluate()

[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-11-24 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r756358992 ## File path: python/tvm/script/parser.py ## @@ -1047,6 +1056,91 @@ def transform_TypeConstant(self, node): """ return node.value +def

[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-11-24 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r756352811 ## File path: tests/python/unittest/test_tvmscript_syntax_sugar.py ## @@ -0,0 +1,72 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or

[GitHub] [tvm] vinx13 commented on a change in pull request #9492: [TVMScript] Add syntax sugar for T.handle and T.match_buffer

2021-11-23 Thread GitBox
vinx13 commented on a change in pull request #9492: URL: https://github.com/apache/tvm/pull/9492#discussion_r755632879 ## File path: python/tvm/script/parser.py ## @@ -1047,6 +1056,91 @@ def transform_TypeConstant(self, node): """ return node.value +def