code: def test_pairwise_scores() -> None:
      a = np.random.randn(50, 100)
      b = np.random.randn(50, 100)
  
      # Pairwise cos
      sklearn_pairwise = (
          1 - sklearn.metrics.pairwise.paired_cosine_distances(a, b)
      )
      pytorch_cos_scores = util.pairwise_cos_sim(a, b).numpy()
      assert np.allclose(sklearn_pairwise, pytorch_cos_scores)
  
file_path: sentence-transformers/tests/test_util.py
imports: import numpy
  import sklearn
  import torch
  from sentence_transformers import SentenceTransformer, util
label_desc: Use image node_id 5 for calling a global function with example usage: test_pairwise_scores() without return types