aaronmarkham commented on a change in pull request #14919: Add API
documentation for upsampling operator with examples
URL: https://github.com/apache/incubator-mxnet/pull/14919#discussion_r282627992
##########
File path: src/operator/nn/upsampling.cc
##########
@@ -121,9 +121,67 @@ struct UpSamplingGrad {
DMLC_REGISTER_PARAMETER(UpSamplingParam);
NNVM_REGISTER_OP(UpSampling)
-.describe("Performs nearest neighbor/bilinear up sampling to inputs. "
- "Bilinear upsampling makes use of deconvolution. Therefore, "
- "provide 2 inputs - data and weight. ")
+.describe(R"code(Upsamples the given input data.
+
+2 algorithms (``sample_type``) are available for upsampling
Review comment:
```suggestion
Two algorithms (``sample_type``) are available for upsampling:
```
----------------------------------------------------------------
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