ivy
ivy copied to clipboard
Jax numpy log10
I have added log10 to numpy jax frontend. log10 #5894
Hi! Thanks for the PR!
Before it can be merged, there are a few things that need to be fixed, but fortunately I don't think they'll be too bad to fix.
- GitHub Actions found some linting errors, these can be found in the checks higher up on this webpage, and can either be fixed manually or can be fixed by locally running
flake8
andblack
. In the docs, there is a section on setting uppre-commit
, which can automatically run those tools for you on each new commit you make, but it won't run them retroactively so you'll still have to fix the errors that are there now. - The test for
log10
is incomplete. If you look at the other tests in that file, you'll see that they havegiven
andhandle_cmd_line_args
decorators, which must also be applied to thelog10
test. It looks like thegiven
decorator will be fairly simple, and you can validate that it works by running the test locally withpytest
. If you'd like any help getting the tests running, or have any issues you can't work out how to fix, feel free to let me know and I'll see if I can help. This test will need to pass with a reasonable range of generated inputs to be merged into themaster
branch. - The
divide
andremainder
will need to have tests added in order to be merged. If you would like to remove those functions from this PR and add them with tests to a new PR in order to get this PR merged faster, that is fine with me. Once you have the test working forlog10
, you should have a good feel for what the tests fordivide
andremainder
need to be, which will make this easier.
Overall however, I do think the PR looks good, just a few small issues before it can be merged.
Any questions or comments feel free to let me know!
This PR has been labelled as stale because it has been inactive for more than 7 days. If you would like to continue working on this PR, then please add another comment or this PR will be closed in 7 days.
This PR has been labelled as stale because it has been inactive for more than 7 days. If you would like to continue working on this PR, then please add another comment or this PR will be closed in 7 days.
This PR has been closed because it has been marked as stale for more than 7 days with no activity.