You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "AndPuQing (via GitHub)" <gi...@apache.org> on 2023/05/11 14:44:44 UTC
[GitHub] [tvm] AndPuQing opened a new pull request, #14826: [Frontend][Paddle] [PaddlePaddle Hackathon 4] add convert support for affine_channel/p_norm/roi_align/softmax_with_cross_entropy
AndPuQing opened a new pull request, #14826:
URL: https://github.com/apache/tvm/pull/14826
Add support for converting the following Paddle OPs.
- [affine_channel](https://www.paddlepaddle.org.cn/documentation/docs/en/1.8/api/layers/affine_channel.html)
- [p_norm](https://www.paddlepaddle.org.cn/documentation/docs/en/2.2/api/paddle/norm_en.html#norm)
- [roi_align](https://www.paddlepaddle.org.cn/documentation/docs/en/2.5rc/api/paddle/vision/ops/roi_align_en.html)
- [softmax_with_cross_entropy](https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/nn/functional/softmax_with_cross_entropy_en.html#softmax-with-cross-entropy)
cc @jiangjiajun
--
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 #14826: [Frontend][Paddle] [PaddlePaddle Hackathon 4] add convert support for affine_channel/p_norm/roi_align/softmax_with_cross_entropy
Posted by "tvm-bot (via GitHub)" <gi...@apache.org>.
tvm-bot commented on PR #14826:
URL: https://github.com/apache/tvm/pull/14826#issuecomment-1544119639
<!---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 @heliqi, @jiangjiajun <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] jiangjiajun commented on a diff in pull request #14826: [Frontend][Paddle] [PaddlePaddle Hackathon 4] add convert support for affine_channel/p_norm/roi_align/softmax_with_cross_entropy
Posted by "jiangjiajun (via GitHub)" <gi...@apache.org>.
jiangjiajun commented on code in PR #14826:
URL: https://github.com/apache/tvm/pull/14826#discussion_r1191923136
##########
tests/python/frontend/paddlepaddle/test_forward.py:
##########
@@ -2302,5 +2302,112 @@ def forward(self, x, y):
verify_model(Dist(), input_data=[y, v])
+@tvm.testing.uses_gpu
+def test_forward_affine_channel():
+ class AffineChannel(nn.Layer):
+ def __init__(self):
+ super(AffineChannel, self).__init__()
+
+ @paddle.jit.to_static
+ def forward(self, inputs, scale, bias):
+ return paddle.fluid.layers.affine_channel(inputs, scale, bias)
+
Review Comment:
`fluid.layers.xxx` is deprecated, and will be removed in next version, please use other api, or just remove this operator
--
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] junrushao merged pull request #14826: [Frontend][Paddle] [PaddlePaddle Hackathon 4] add convert support for p_norm/roi_align/softmax_with_cross_entropy
Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao merged PR #14826:
URL: https://github.com/apache/tvm/pull/14826
--
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] jiangjiajun commented on pull request #14826: [Frontend][Paddle] [PaddlePaddle Hackathon 4] add convert support for p_norm/roi_align/softmax_with_cross_entropy
Posted by "jiangjiajun (via GitHub)" <gi...@apache.org>.
jiangjiajun commented on PR #14826:
URL: https://github.com/apache/tvm/pull/14826#issuecomment-1550587169
@junrushao Could you help to merge this PR? I found that I'am still a `contributor` not a `reviewer`...
--
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