private void getBetaRegularizerFromConfig ( Map < String , Object > layerConfig , boolean enforceTrainingConfig ) throws UnsupportedKerasConfigurationException , InvalidKerasConfigurationException { Map < String , Object > innerConfig = KerasLayerUtils . getInnerLayerConfigFromConfig ( layerConfig , conf ) ; if ( innerConfig . get ( LAYER_FIELD_BETA_REGULARIZER ) != null ) { if ( enforceTrainingConfig ) throw new UnsupportedKerasConfigurationException ( "Regularization for BatchNormalization beta parameter not supported" ) ; else log . warn ( "Regularization for BatchNormalization beta parameter not supported...ignoring." ) ; } }
Get BatchNormalization beta regularizer from Keras layer configuration . Currently unsupported .