I have code as below.
x = inputs
if conv_first:
x = conv(x)
if batch_normalization:
x = BatchNormalization()(x)
if activation is not None:
x = Activation(activation)(x)
Here, I dont understand how x = BatchNormalization()(x) works (just like the same, x = Activation(activation)(x) too). If it was BatchNormalization(x), it would have been easy.
Anyone can explain in a concise way what it is and how it works?
Thank you very much in advance.