jiangjiajun commented on a change in pull request #9295:
URL: https://github.com/apache/tvm/pull/9295#discussion_r734451096
##########
File path: python/tvm/relay/frontend/paddlepaddle.py
##########
@@ -43,18 +44,56 @@
__all__ = ["from_paddle"]
-def _get_pad_size(in_size, dilated_kernel_size, stride_size):
- """Calculate the paddings size for Conv/Pool in SAME padding mode."""
+def _autopad(
Review comment:
Good advice, I think this function also works for tensorflow and tflite
to solve dynamic shape problem.
`shape_of` and `autopad` are both removed to `common.py`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]