Is there a specific term for turning a vector into a scalar by summing all of the elements of the vector? I am trying to describe a part of a model that requires this.
Asked
Active
Viewed 42 times
1
-
2That's a question for the mathematics SE sites. What you're looking for is the dot product of your given vector with a unit vector of the same shape. – deemel Jul 08 '22 at 20:29
-
2I wonder how having alternative names for "sum" might help you with your model description. – whuber Jul 08 '22 at 21:25
-
Less "an alternative" rather than if there is a term I was missing that is used to describe it. Similarly to describing something with matrix vs scalar notation. – socialscientist Jul 08 '22 at 21:43
-
2@deemel I am not sure an "all-ones vector" is a "unit vector" – Henry Jul 09 '22 at 00:43
-
@Henry you're right, I mixed that up. Late hour, most likely – deemel Jul 09 '22 at 06:42
1 Answers
1
One can describe the operation as global add pooling, similar to global average pooling used in convolutional neural networks. In your case, the input is 1D.
gunes
- 57,205