-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing broken doc functions and improving coverage #1030
Fixing broken doc functions and improving coverage #1030
Conversation
rerun tests |
1 similar comment
rerun tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! I like that this expands the docs coverage - and we're now including all the pylibraft modules in the sphinx docs.
Left a couple minor comments below,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Corey, nice to see these updates! I have some suggestions below, but most of these can be implemented in a follow up PR. Overall the current PR looks good to me, pre-approving.
namespace raft::random { | ||
|
||
/** | ||
* @brief Matrix decomposition method for `compute_multi_variable_gaussian` to use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this docstring supposed to appear in the API docs? I do not see it there.
------------------- | ||
################### | ||
|
||
Header: `raft/spectral/partition.cuh` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:project: RAFT | ||
|
||
|
||
|
||
|
||
mdarray | ||
####### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add header file name?
@@ -136,42 +153,15 @@ mdspan | |||
.. doxygentypedef:: raft::mdspan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add header file name?
|
||
|
||
IVF-Flat | ||
-------- | ||
|
||
Header: `raft/neighbors/ivf_flat.cuh` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The docstring of index_params and search params refers to headers as
#include <ivf_flat_types.hpp>
. We should have the full path, and preferably the same visual highlighting as for other headers. - The index_params / search params arguments of build/search is not hyperlinked to the type definition.
|
||
|
||
IVF-PQ | ||
-------- | ||
|
||
Header: `raft/neighbors/ivf_pq.cuh` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, the header file for index and search params shall contain full path. It would be good to list these structs before the
@@ -2,8 +2,6 @@ | |||
C++ API Reference | |||
~~~~~~~~~~~~~~~~~ | |||
|
|||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall the section heads below be in alphabetical order?
|
||
Brute-force | ||
----------- | ||
|
||
Header: `raft/neighbors/brute_force.cuh` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about adding a cross reference to sparse/neighbors/brute_force_knn?
@tfeher thank you for the detailed review (and for doing it on such short notice)! Since code freeze is tomorrow (which is a US holiday), I’m definitely going to create a follow-on PR for all of these items, but I’ll target it for 23.02. |
@gpucibot merge |
No description provided.