Created
February 27, 2019 00:22
-
-
Save ragulpr/50b7011e7348944bee1ee160db2fbe0a to your computer and use it in GitHub Desktop.
Thanks for the explanation :)
This is old but I found this post from reddit, and this is just to say that Keras BatchNormalization does support masking now:
https://keras.io/api/layers/normalization_layers/batch_normalization/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AnirudhDagar, unless things have happened over in the Torch (and in particular, the CUDA)-community since last year when I checked, Batchnorm does not support masking. Unfortunately, there's many numerical gotchas and BatchNorm has highly optimized low level implementations, so it seems like it wouldn't be very feasible to just write it using the basic Pytorch python API (I've tried, it was slow).