Skip to content

Why do recurrent modules use an explicit carry rather than making linen variables? #1870

Answered by NeilGirdhar
NeilGirdhar asked this question in Q&A
Discussion options

You must be logged in to vote

Actually, on further thought I can see why module variables aren't the right dataflow for this since they would persist in the state, and it might be a pain to write into them.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NeilGirdhar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant