wyc-ruiker commented on a change in pull request #5142: [Torch] Add support for
max_pool1d
URL: https://github.com/apache/incubator-tvm/pull/5142#discussion_r397073052
##########
File path: python/tvm/relay/frontend/pytorch.py
##########
@@ -213,12 +213,33 @@ def _impl(inputs, input_types):
pool_size = _infer_shape(inputs[1])
strides = _infer_shape(inputs[2])
padding = _infer_shape(inputs[3])
-
+ dilation = _infer_shape(inputs[4])
Review comment:
In https://pytorch.org/docs/stable/nn.html#maxpool1d, MaxPool1d and
MaxPool2d have dilation argument.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services