-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Incorrect docs link for NDArray #12829
Comments
@mxnet-label-bot [Website, Doc] |
@aaronmarkham can you take over from here? :) |
This seems related to this other issue (why can't Sphinx access the shorthand function calls): Looking at the code section, it's clear that the erroneous links come from Sphinx's autodoc plugin. It is going through, importing things and checking the functions. I get the feeling that init / relative import stuff is messed up. Help? |
@lanking520 noted that everything is fine in v1.3.0.
|
After checking with @aaronmarkham The issue is introduced in this PR. There are a bunch of more issues that are cross-referenced... |
This may be due to the python modules not correctly specifying #12365 splits mx.optimizer into mx.optimizer and mx.optimizer.contrib. It introduced the |
Fixed by #12886 |
@leezu thanks for your diagnosis and fix on the potential issues. @aaronmarkham could you please try again to build based on Master to see if the issue is reproducible? |
@lanking520 @aaronmarkham No need to rebuild based on master. CI did that already. The docs of CI's build are at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-12886/2/api/python/ndarray/ndarray.html#mxnet.ndarray.save and as far as I can tell don't contain the issue described by @thomelane |
@leezu Thanks for the fix! I checked on prod, and the cross-linking for NDArray looks correct now. I'm going to dig around in the logs and see if there are similar issues, but I think we can close this issue now. |
thanks everyone for the quick fix! it's looking good from my side, so case closed. |
All links for
NDArray
in the Python documentation link tomxnet.optimizer.NDArray
instead ofmxnet.ndarray.NDArray
. Could add confusion for users, since this is the wrong reference to NDArray. And it's only technically possible because NDArray is imported inoptimizer.py
.The text was updated successfully, but these errors were encountered: