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

[cherry-pick to 14.0.1] Python: make Func implicitly convertible to Stage (#6702) #6708

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

steven-johnson
Copy link
Contributor

This allows for compute_with and rfactor to work more seamlessly in Python.

Also:

  • Move two compute_with() variant bindings from PyFunc and PyStage to PyScheduleMethods, as they are identical between the two
  • drive-by removal of redundant py::implicitly_convertible<ImageParam, Func>(); call

This allows for `compute_with` and `rfactor` to work more seamlessly in Python.

Also:
- Move two compute_with() variant bindings from PyFunc and PyStage to PyScheduleMethods, as they are identical between the two
- drive-by removal of redundant `py::implicitly_convertible<ImageParam, Func>();` call
@steven-johnson steven-johnson merged commit 3f7e890 into release/14.x Apr 14, 2022
@steven-johnson steven-johnson deleted the srj/pystage14 branch April 14, 2022 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants