Hi, I am wondering how I could perform mean pooling within a given range of word embeddings.
For example, I have a list of word embeddings with length 100. I would like to perform a mean averaging on the 0-35 words and 36-100 words individually. How could I perform this given this list and an index list [0, 35, 100]?
Will be appreciating for any help…
Thanks!