Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Residual Neural Network: Concatenation or Element Addition?

With the residual block in residual neural networks, is the addition at the end of the block true element addition or is it concatenation?

For example, would addition([1, 2], [3, 4]) produce [1, 2, 3, 4] or [4, 6] ?

like image 870
C. R. Avatar asked Oct 24 '17 04:10

C. R.


2 Answers

It would result in [4, 6], and you can find out more in this paper

like image 80
TajyMany Avatar answered Sep 28 '22 08:09

TajyMany


The operation F + x is performed by a shortcut connection and element-wise addition

It is from the popular ResNet paper by Microsoft Research. Therefore it is element-wise addition, hence [4, 6]

like image 22
Aditya Saurabh Avatar answered Sep 28 '22 08:09

Aditya Saurabh