Replies: 1 comment 3 replies
-
When you say "generator" what do you mean? Is it literally a Python generator object? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Say I have two generators whose elements consist of a tuple of (jax array, metadata). To a first approximation, I'd like to construct "merge" operation that creates a new generator as follows:
<some pure function>
(queue[0], queue[1])I can't think of a good way to do with without hitting side effects. I looked into scan as well, but it's still not clear it's relevant.
Thanks,
Alex
Beta Was this translation helpful? Give feedback.
All reactions