addLayer - Is it possible to replace an existing layer in the model with a new one?

Réponse

Yes, you can replace an existing layer by setting the 'replace' parameter to TRUE. The new layer must have the same name as the layer you intend to replace.
Cette réponse vous a-t-elle aidé ?
addLayer

deepLearn

Doc : addLayer