code: def x2():
      return torch.tensor([[1, 1, 1], [2, 2, 2]], dtype=torch.float)
  
file_path: pykale/tests/utils/test_distance.py
imports: import pytest
  import torch
  from kale.utils.distance import calculate_distance, DistanceMetric
label_desc: Use image node_id 2 for calling a global function with example usage: x2() and returns: torch