Skip to content

Using precomputed mean and var for BatchNorm #673

Answered by avital
matthias-wright asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @matthias-wright -- you're using the deprecated flax.nn API -- please try using flax.linen instead, where "batch_stats" are simply another variable collection just like "params".

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@avital
Comment options

@matthias-wright
Comment options

@avital
Comment options

@matthias-wright
Comment options

Answer selected by matthias-wright
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