You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ju...@apache.org on 2022/10/28 04:06:42 UTC

[tvm] branch main updated: [Frontend][Paddle] Add depthwise_conv2d_transpose op mapping (#13214)

This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 1c697d7460 [Frontend][Paddle] Add depthwise_conv2d_transpose op mapping (#13214)
1c697d7460 is described below

commit 1c697d7460565f7f744eb244b43de425957b4f89
Author: Wubin <wu...@imgtec.com>
AuthorDate: Fri Oct 28 12:06:36 2022 +0800

    [Frontend][Paddle] Add depthwise_conv2d_transpose op mapping (#13214)
    
    Hi, I noticed missing a depthwise_conv2d_transpose, but there is a convert function, convert_conv2d_transpose, seems to support the convertion for this op.
---
 python/tvm/relay/frontend/paddlepaddle.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/python/tvm/relay/frontend/paddlepaddle.py b/python/tvm/relay/frontend/paddlepaddle.py
index 9b909895e0..068f7d2eac 100644
--- a/python/tvm/relay/frontend/paddlepaddle.py
+++ b/python/tvm/relay/frontend/paddlepaddle.py
@@ -2042,6 +2042,7 @@ _convert_map = {
     "cosh": convert_unary_op,
     "cumsum": convert_cumsum,
     "depthwise_conv2d": convert_conv2d,
+    "depthwise_conv2d_transpose": convert_conv2d_transpose,
     "dot": convert_dot,
     "dropout": convert_dropout,
     "elementwise_add": convert_elementwise_op,