I am printing a tensorflow.keras.Model
instance summary. The type is tensorflow.python.keras.engine.functional.Functional
object.
This model has layers with activations and batch normalization associated. When I print the list of parameters, I see
- weights
- bias
- 4 items co-dimensional with the bias
These four items are (I guess) the batch normalization and activations.
My question is: why do we have parameters associated with batch normalization and activations? And what could be the other two items?
My aim is to transpose this Keras model to a PyTorch counterpart, so I need to know the order of the parameters and what these parameters represent
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…