Open DNXie opened 4 years ago
cc @lingfanyu
cc'ed @zheng-da here. All these APIs should have been supported in DGL. We could have a discussion on whether to continue support them in MXNet or deprecate them.
@jermainewang it's ok to deprecate them in 2.0. for 1.x since it's already in the code base, we will need to fix the doc.
I found this issue on ovio.org and would love to contribute! I've never contributed before.
@hadevin thanks for offering to help. The contribution guide for our project can be found at: https://mxnet.apache.org/versions/master/community#contribution-guides
For this issue, I think we need to add a note on the documentation that the expected number of arrays for seed_arrays
is the num_args
minus two (csr matrix and probability).
The operators with documentation problems are in https://github.com/apache/incubator-mxnet/blob/v1.x/src/operator/contrib/dgl_graph.cc. For example: https://github.com/apache/incubator-mxnet/blob/787416b23a1d5730fce995a6b662a51cee45e20f/src/operator/contrib/dgl_graph.cc#L866-L935
Feel free to ask here if you have any question.
Description
In the documentation of these 8 APIs listed below, there is a parameter
seed_arrays
listed in Parameter section. But it is not in the signature and not accepted by the functions, and passing them gives abort, which crashes the program.Error Message
(Paste the complete error message. Please also include stack trace by setting environment variable
DMLC_LOG_STACK_TRACE_DEPTH=10
before running your script.)To Reproduce
(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
This is the exact example provided in the documentation.
The same error when calling the rest 7 APIs.
Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
OS: ubuntu 18.04 Python: 3.7.6 pip: 20.0.2 numpy: 1.18.5 mxnet: 1.6.0