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

Combine the functionality of the convert_to_tensors decorator and the dtypes constraint. #420

Merged
merged 12 commits into from
Dec 10, 2024

Conversation

slyubomirsky
Copy link
Collaborator

@slyubomirsky slyubomirsky commented Dec 3, 2024

Address #408. Since all of the functions that used the convert_to_tensors decorator also applied a dtypes constraint, the approach here is to simply include the option to do conversions in the dtypes constraint and rename the decorator to interface, to indicate a more general function.

@slyubomirsky slyubomirsky force-pushed the combine-convert-tensors-and-dtypes-constraint branch from a388a6f to f046a23 Compare December 5, 2024 03:35
@slyubomirsky slyubomirsky force-pushed the combine-convert-tensors-and-dtypes-constraint branch from e80787a to efd985a Compare December 10, 2024 08:03
@slyubomirsky slyubomirsky merged commit b82c737 into main Dec 10, 2024
1 check passed
@slyubomirsky slyubomirsky deleted the combine-convert-tensors-and-dtypes-constraint branch December 10, 2024 09:08
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