Skip to content

The concept of module arguments #1444

Answered by andsteing
manifest asked this question in Q&A
Discussion options

You must be logged in to vote

You would usually use deterministic=False for training and deterministic=True for evaluation. And since you compile the entire training step and evaluation step, you'll get a recompile anyways.

Also note that if we used jax.lax.cond for implementation of the actual dropout, we would still have the codepaths for generating rngs etc (which would in turn require passing a dropout rng for evaluation etc) in Dropout.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@manifest
Comment options

@andsteing
Comment options

@manifest
Comment options

@andsteing
Comment options

@manifest
Comment options

Answer selected by manifest
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