sandeep-krishnamurthy closed pull request #13128: Add missing documentations 
for getnnz
URL: https://github.com/apache/incubator-mxnet/pull/13128
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/operator/contrib/nnz.cc b/src/operator/contrib/nnz.cc
index 956b2226466..a94f52fdaa5 100644
--- a/src/operator/contrib/nnz.cc
+++ b/src/operator/contrib/nnz.cc
@@ -182,7 +182,8 @@ This operator only supports CSR matrix on CPU.
 .set_attr<nnvm::FInferType>("FInferType", NNZType)
 .set_attr<FInferStorageType>("FInferStorageType", NNZStorageType)
 .set_attr<FComputeEx>("FComputeEx<cpu>", NNZComputeEx<cpu>)
-.add_argument("data", "NDArray-or-Symbol", "Input");
+.add_argument("data", "NDArray-or-Symbol", "Input")
+.add_arguments(NNZParam::__FIELDS__());
 
 }  // namespace op
 }  // namespace mxnet


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to