towhee.models.mcprop.loss.dot_sim

towhee.models.mcprop.loss.dot_sim(im, s)[source]

Cosine similarity between all the image and sentence pairs