code: def test_shape(self, input_param, input_shape, expected_shape):
      device = "cuda" if torch.cuda.is_available() else "cpu"
      print(input_param)
      net = BasicUNet(**input_param).to(device)
      with eval_mode(net):
          result = net(torch.randn(input_shape).to(device))
      self.assertEqual(result.shape, expected_shape)
  
file_path: MONAI/tests/test_basic_unet.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.networks import eval_mode
  from monai.networks.nets import BasicUNet
  from tests.utils import test_script_save
label_desc: Use image node_id 1 for calling the TestBasicUNET obj's underlying member method code with example usage: obj.test_shape(input_param, input_shape, expected_shape) without return types