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 2021/09/02 08:19:36 UTC

[GitHub] [tvm] wangxiang2713 commented on pull request #8887: [BUG] Shape Func of Split Op Error

wangxiang2713 commented on pull request #8887:
URL: https://github.com/apache/tvm/pull/8887#issuecomment-911365065


   > Thanks for the PR. Could you add a test case?
   
   Hi, a test case just added. This case may occur when convert a tensorflow model. As this code will be excute:
   ```
   size_splits = _get_param(params, inputs[1])
   section_beginnings = np.cumsum(size_splits)[:-1]
   indices_or_sections = tuple(section_beginnings)
   ```
   np.cumsum may convert a two elements list to one elements list.


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