Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix behaviour of unfrozen BatchNormalization layer (#47)
Previously, if `BatchNormalization` was been initialized with `BatchNormalization(freeze=False)`, its behaviour was not equivalent to the standard `BatchNormalization` layer, as one would expect. Instead, it was always forced to be in training mode, providing wrong validation results. This PR does not change the behaviour for `freeze=True`, but makes the layer equivalent to the standard `BatchNormalization` layer from Keras for `freeze=False`.
- Loading branch information