Yes I know, and I mentioned in my first reply that it will be slower. Of course EmbeddingBag is more efficient, otherwise it won’t even exist. I’m just saying that using Embedding for this is likely not “too slow” and probably not a huge performance bottleneck for your particular use case.
If you are really concerned, you can run some tests and measure the time difference. If that is crucial to you, you can make a github request and see if anyone wants to implement, or you can do it yourself.