-
Notifications
You must be signed in to change notification settings - Fork 351
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
Allow lists/tuples of tensors to get tagged as application inputs #1140
Comments
I think the cleanest thing is probably to just do an isinstance check on the variable argument in |
(Actually, |
Related to #1139 (which is my workaround to this issue for the time being), I'm in a situation where I have multiple, paired sets of inputs to an application but not necessarily a fixed number. It'd be nice if list and tuple arguments to an application method that contain tensors could have their contents sensibly tagged.
What I'm doing in my own code right now (I'm passing all my apply arguments via
**kwargs
here):The text was updated successfully, but these errors were encountered: