-
Notifications
You must be signed in to change notification settings - Fork 902
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
Migrate nvtext generate_ngrams APIs to pylibcudf #17006
Migrate nvtext generate_ngrams APIs to pylibcudf #17006
Conversation
…/cudf into pylibcudf-nvtext-generate_ngrams
/ok to test |
<size_type> ngrams, | ||
<plc_Scalar> py_separator.device_value.c_value |
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.
I think we don't need these explicit casts. I believe Cython will implicitly perform the valid cast if needed
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.
Thanks, I'll try and build without them. I wonder--in general where you can get away with not explicitly casting?
/ok to test |
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.
A couple of test suggestions, otherwise LGTM.
python/pylibcudf/pylibcudf/tests/test_nvtext_generate_ngrams.py
Outdated
Show resolved
Hide resolved
/ok to test |
/merge |
Description
Apart of #15162
Checklist