Skip to content

nn.scan vs. lax.scan performance for LSTMCell #2661

Answered by cgarciae
minqi asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @minqi, performance-wise there should be no differences between the two. nn.scan mainly handles collections and rngs appropriately, it also introduces some features of its own but underneath it calls JAX's scan.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by minqi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2660 on November 25, 2022 18:36.