haojin2 commented on a change in pull request #17328: [numpy] add op pad
URL: https://github.com/apache/incubator-mxnet/pull/17328#discussion_r367146226
##########
File path: python/mxnet/symbol/numpy/_symbol.py
##########
@@ -5866,4 +5866,116 @@ def bincount(x, weights=None, minlength=0):
return _npi.bincount(x, weights=weights, minlength=minlength,
has_weights=True)
+@set_module('mxnet.symbol.numpy')
+def pad(array, pad_width, mode="constant", reflect_type="even",
constant_values=0):
+ """
+ Pad an array.
+ Parameters
Review comment:
extra blank line above
----------------------------------------------------------------
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