addLayer - How can I make two layers share the same weights?

Réponse

To make a new layer share weights with an existing one, you can use the 'sharingWeights' parameter, specifying the name of the layer from which to share weights.
Cette réponse vous a-t-elle aidé ?
addLayer

deepLearn

Doc : addLayer