View source on GitHub |
Returns the layer configuration as a Python dict.
tf.keras.layers.serialize(
layer
)
Args | |
---|---|
layer
|
A keras.layers.Layer instance to serialize.
|
Returns | |
---|---|
Python dict which contains the configuration of the layer. |