Residual Neural Network: Concatenation or Element Addition?
Asked Answered
D

2

7

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] ?

Dullard answered 24/10, 2017 at 4:45 Comment(1)
It is element-wise addition.Calibre
M
5

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

Merriott answered 24/10, 2017 at 7:19 Comment(0)
E
2

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]

Endemic answered 8/10, 2020 at 11:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.