guberti commented on code in PR #13051:
URL: https://github.com/apache/tvm/pull/13051#discussion_r999570190


##########
python/tvm/topi/utils.py:
##########
@@ -431,13 +431,13 @@ def get_shape(src_shape, src_layout, dst_layout):
     return get_const_tuple(tuple([src_shape[i.value] for i in dst_indices]))
 
 
-def change_constant_shape(src, src_layout, dst_layout):
-    """Makes a copy of a Relay constant, reshaping it to a new data layout.
+def change_ndarray_layout(arr, src_layout, dst_layout):

Review Comment:
   Originally I planned to use this in `legalizations.py` for microTVM as well, 
but that should be unnecessary thanks to metaschedule. Done!



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