How can I reuse the activations from a layer and then merge it with another coming layer in the same neural network like in the figure?

1 view (last 30 days)

Accepted Answer

Nomit Jangid
Nomit Jangid on 1 Dec 2020
Hi Cinar,
It is not very clear in figure. if you want to add layers output you can use additionLayer function in MATLAB.
A depth concatenation layer takes inputs that have the same height and width and concatenates them along the third dimension (the channel dimension).
I hope this helps!

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by