Creates an instance normalization layer
layer_instance_normalization( object, axis = NULL, epsilon = 0.001, center = TRUE, scale = TRUE, betaInitializer = "zeros", gammaInitializer = "ones", betaRegularizer = NULL, gammaRegularizer = NULL, betaConstraint = NULL, gammaConstraint = NULL, trainable = TRUE )
object | Object to compose layer with. This is either a keras::keras_model_sequential to add the layer to, or another Layer which this layer will call. |
---|---|
axis | Integer specifying which axis should be normalized, typically
the feature axis. For example, after a Conv2D layer with
|
epsilon | Small float added to the variance to avoid dividing by 0. |
center | If TRUE, add |
scale | If TRUE, multiply by |
betaInitializer | Intializer for the beta weight. |
gammaInitializer | Intializer for the gamma weight. |
betaRegularizer | Regularizer for the beta weight. |
gammaRegularizer | Regularizer for the gamma weight. |
betaConstraint | Optional constraint for the beta weight. |
gammaConstraint | Optional constraint for the gamma weight. |
trainable | Whether the layer weights will be updated during training. |
a keras layer tensor
Tustison NJ