siju-samuel commented on a change in pull request #5331: [relay][topi] Add
operation relay.nn.dilate() which calls topi.nn.dilate()
URL: https://github.com/apache/incubator-tvm/pull/5331#discussion_r408312445
##########
File path: python/tvm/relay/op/nn/nn.py
##########
@@ -1347,6 +1347,25 @@ def pad(data,
return _make.pad(data, pad_width, pad_value, pad_mode)
+def dilate(data, strides):
+ """Dilate data with zeros.
+
+ Parameters
+ ----------
+ data : tvm.relay.Expr
+ n-D, can be any layout.
+
+ strides : <tuple of n <int>
Review comment:
`tuple of <int>`
----------------------------------------------------------------
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