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/01 14:06:31 UTC

[GitHub] [tvm] wangxiang2713 opened a new pull request #8899: [BUG] DataType Bug In SplitRel

wangxiang2713 opened a new pull request #8899:
URL: https://github.com/apache/tvm/pull/8899


   Elements in param->indices_or_sections are int64, which cause oshape[axis] calculated it int64 while other elements in oshape are int32, which cause check error in codegen phase.
   


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



[GitHub] [tvm] vinx13 commented on pull request #8899: [BUG] DataType Bug In SplitRel

Posted by GitBox <gi...@apache.org>.
vinx13 commented on pull request #8899:
URL: https://github.com/apache/tvm/pull/8899#issuecomment-910480682


   Thanks for the PR, could you add a test case?


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



[GitHub] [tvm] vinx13 merged pull request #8899: [BUG] DataType Bug In SplitRel

Posted by GitBox <gi...@apache.org>.
vinx13 merged pull request #8899:
URL: https://github.com/apache/tvm/pull/8899


   


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



[GitHub] [tvm] wangxiang2713 commented on pull request #8899: [BUG] DataType Bug In SplitRel

Posted by GitBox <gi...@apache.org>.
wangxiang2713 commented on pull request #8899:
URL: https://github.com/apache/tvm/pull/8899#issuecomment-911433417


   > 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 outputs array with elements in int64.


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