You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "Lunderberg (via GitHub)" <gi...@apache.org> on 2023/08/15 15:43:28 UTC

[GitHub] [tvm] Lunderberg opened a new pull request, #15562: [Unity] Infer concatenated shape with multiplication where possible

Lunderberg opened a new pull request, #15562:
URL: https://github.com/apache/tvm/pull/15562

   Prior to this commit, the `relax.concat` operator determined the concatenated dimension by adding together the dimension across all concatenated values.  For shapes involving symbolic variables, this can produce less readable shapes in some cases.  For example, concatenating together four arrays, each of shape `[128 // factor]` would produce an output of `[128 // factor + 128 // factor + 128 // factor + 128 // factor]`.
   
   This commit updates the shape inference of `relax.concat` to check for the common case of equal-sized tensors being concatenated.  In the example above, the shape would instead be inferred as `[(128 // factor) * 4]`.


-- 
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] tvm-bot commented on pull request #15562: [Unity] Infer concatenated shape with multiplication where possible

Posted by "tvm-bot (via GitHub)" <gi...@apache.org>.
tvm-bot commented on PR #15562:
URL: https://github.com/apache/tvm/pull/15562#issuecomment-1679166102

   <!---bot-comment-->
   
   Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @-ing them in a comment.
   
   <!--bot-comment-ccs-start-->
    * cc @quic-sanirudh <sub>See [#10317](https://github.com/apache/tvm/issues/10317) for details</sub><!--bot-comment-ccs-end-->
   
   <sub>Generated by [tvm-bot](https://github.com/apache/tvm/blob/main/ci/README.md#github-actions)</sub>


-- 
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] MasterJH5574 merged pull request #15562: [Unity] Infer concatenated shape with multiplication where possible

Posted by "MasterJH5574 (via GitHub)" <gi...@apache.org>.
MasterJH5574 merged PR #15562:
URL: https://github.com/apache/tvm/pull/15562


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