code: def _set_inputs(self, inputs):
      super()._set_inputs(inputs)
      self._x = self._inputs[0]
      self._y = self._inputs[1]
  
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 4 for calling the CosineDistances obj's underlying member method code with example usage: obj._set_inputs(inputs) without return types