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

Enable data type constraints for modules #272

Open
pranavm-nvidia opened this issue Oct 15, 2024 · 0 comments
Open

Enable data type constraints for modules #272

pranavm-nvidia opened this issue Oct 15, 2024 · 0 comments

Comments

@pranavm-nvidia
Copy link
Collaborator

We should enable the data type constraints decorator to be used for Module __call__ methods. One approach is to update object_builders.py so that we can specify how to construct modules and then update the data type constraint tests to take a special code path for classes, where it will first construct the class (outside the string) and then call a method on the object.

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

No branches or pull requests

1 participant