You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/20 10:07:12 UTC

[GitHub] [tvm] TaylorHere commented on issue #11783: [Bug] Expand v8 Cannot use and / or / not operator to Expr

TaylorHere commented on issue #11783:
URL: https://github.com/apache/tvm/issues/11783#issuecomment-1160243903

   I found out what wrong here.
   ```python
   def expand_shape(in_shape, shape):
               """A function expands the shape when the rank is lower than that of the given
               intput. Also it replaces the extent of the shape with the corresponding extent
               of the intput when it is 1.
               """
               in_dims = infer_shape(in_shape)[0] # <class 'int'>
               new_dims = infer_shape(shape)[0] #  <class 'tvm.tir.expr.Any'>
   ```
   


-- 
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: commits-unsubscribe@tvm.apache.org

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