Skip to content
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

added floor_ frontend function #23293

Closed
wants to merge 1 commit into from
Closed

Conversation

Aaryan562
Copy link
Contributor

Close #22648

@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2023

Thanks for contributing to Ivy! 😊👏
Here are some of the important points from our Contributing Guidelines 📝:
1. Feel free to ignore the run_tests (1), run_tests (2), … jobs, and only look at the display_test_results job. 👀 It contains the following two sections:
- Combined Test Results: This shows the results of all the ivy tests that ran on the PR. ✔️
- New Failures Introduced: This lists the tests that are passing on main, but fail on the PR Fork. Please try to make sure that there are no such tests. 💪
2. The lint / Check formatting / check-formatting tests check for the formatting of your code. 📜 If it fails, please check the exact error message in the logs and fix the same. ⚠️🔧
3. Finally, the test-docstrings / run-docstring-tests check for the changes made in docstrings of the functions. This may be skipped, as well. 📚
Happy coding! 🎉👨‍💻

@Aaryan562
Copy link
Contributor Author

@AlexandraPosta Could you pls review my PR. Thanks!

@ivy-leaves ivy-leaves added the Paddle Frontend Developing the Paddle Frontend, checklist triggered by commenting add_frontend_checklist label Sep 8, 2023
@@ -1,5 +1,5 @@
# local
from ..math import * # noqa: F401
from ..math import exp, floor, lerp, reciprocal, sqrt # noqa: F401
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not change this line, keep the changes to the functions that you contribute to.

@@ -21,6 +21,12 @@ def exp_(x, name=None):
return ivy.inplace_update(x, exp(x))


@with_supported_dtypes({"2.5.1 and below": ("float32", "float64")}, "paddle")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the PaddlePaddle documentation for supported types.

# --- Main --- #
# ------------ #


# ceil_
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, please do not change code that it is not related to your functions

@Aaryan562 Aaryan562 closed this Sep 14, 2023
@Aaryan562 Aaryan562 deleted the floor_ branch September 14, 2023 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Paddle Frontend Developing the Paddle Frontend, checklist triggered by commenting add_frontend_checklist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

floor_
3 participants