code: def test_if_inputs_have_one_sample(self):
      with self.assertRaises(ValueError):
          MMDMetric()(
              torch.ones([1, 3, 144, 144]), torch.ones([1, 3, 144, 144])
          )
  
file_path: MONAI/tests/test_compute_mmd_metric.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.metrics import MMDMetric
label_desc: Use image node_id 3 for calling the TestMMDMetric obj's underlying member method code with example usage: obj.test_if_inputs_have_one_sample() without return types