code: def __init__(self, x=None, y=None, **kw):
      super().__init__(_x=x, _y=y, **kw)
  
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 1 to create a new CosineDistances object from inherited base classes: PairwiseDistances with example: obj = CosineDistances(x, y)