code: def __call__(self, x, y=None):
      x, y = self.check_pairwise_arrays(x, y)
      return self.new_tensor(
          [x, y],
          shape=(x.shape[0], y.shape[0]),
          order=TensorOrder.C_ORDER,
      )
  
file_path: mars/mars/learn/metrics/pairwise/cosine.py
imports: import numpy
  from ....None import opcodes
  from ....core import recursive_tile
  from ....serialization.serializables import KeyField
  from ....None import tensor
  from ....tensor.core import TensorOrder
  from ...preprocessing import normalize
  from .core import PairwiseDistances
label_desc: Use image node_id 5 for calling the CosineDistances obj's underlying member method code with example usage: obj.__call__(x, y) and returns: self