What is the term for summing all of the elements of a vector to produce a scalar? 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.

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.
