-
Notifications
You must be signed in to change notification settings - Fork 17
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
Losing tensors in lists #136
Labels
bug
Something isn't working
Comments
I don't know if the trace type of datasets would have it make sense to pass them as arguments to hybrid functions, but I haven't seen this done. |
khatchad
added a commit
to ponder-lab/ML
that referenced
this issue
Jan 31, 2024
khatchad
added a commit
to ponder-lab/ML
that referenced
this issue
Jan 31, 2024
khatchad
added a commit
to ponder-lab/ML
that referenced
this issue
Jan 31, 2024
khatchad
added a commit
to ponder-lab/ML
that referenced
this issue
Jan 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to #89.
We actually mention this problem in #89:
Gets us:
While we could employ a similar fix for #89, I don't think it's ideal. First, a list is not a dataset. Second, I am seeing examples where
@tf.function
is used on functions that take lists of tensors as arguments, which makes sense because of the trace type:https://github.com/aymericdamien/TensorFlow-Examples/blob/6dcbe14649163814e72a22a999f20c5e247ce988/tensorflow_v2/notebooks/6_Hardware/multigpu_training.ipynb#L204-L218
The text was updated successfully, but these errors were encountered: