Outils pour utilisateurs

Outils du site


keras_input_explanation

Ceci est une ancienne révision du document !


Keras input explanation: input_shape, units, batch_size, dim, etc

Mise en forme d'un post de stackoverflow.com non traduit en français, car très technique ce qui ne se comprend qu'en anglais.

Keras input explanation: input_shape, units, batch_size, dim, etc

Question

For any Keras layer (Layer class), can someone explain how to understand the difference between input_shape, units, dim, etc.?

For example the doc says units specify the output shape of a layer. In the image of the neural net below hidden layer1 has 4 units.
Does this directly translate to the units attribute of the Layer object? Or does units in Keras equal the shape of every weight in the hidden layer times the number of units? In short how does one understand/visualize the attributes of the model - in particular the layers - with the image below?

,
keras_input_explanation.1601722770.txt.gz · Dernière modification : 2020/10/03 10:59 de serge