Underrstanding cosine similarity function in pytorch

I am using cosine similarly to check similarly of sentence embedding. I have 200 texts in each of two sets and i am getting the embedding from a model.
The size of each embedding (200,52,784)
Now when i am using cosine similarly its returning me a tensor size (200,784)
But what i want to return me a single percentage value which represents the total similarity between these two sets. How can I do that?