.. _api_nn_cosine_similarity: cosine_similarity ------------------------------- :doc_source: paddle.nn.functional.cosine_similarity