code: def __init__(
      self, metric=None, p=None, w=None, v=None, vi=None, **kw
  ):
      super().__init__(_metric=metric, _p=p, _w=w, _v=v, _vi=vi, **kw)
  
imports: import itertools
  from typing import Tuple
  import numpy
  from ....None import opcodes
  from ....core import recursive_tile
  from ....serialization.serializables import KeyField, AnyField, Float16Field
  from ....utils import has_unknown_shape, require_module, ensure_own_data
  from ...operands import TensorOperand, TensorOperandMixin
  from ...core import TensorOrder
  from ...datasource import tensor
  from ...array_utils import as_same_device, cp, device
label_desc: Use image node_id 1 to create a new TensorCdist object from inherited base classes: TensorOperand, TensorOperandMixin with example: obj = TensorCdist(metric, p, w, v, vi)