code: def test_shape3(self, input_param, input_shape, expected_shapes):
      dsdepth = input_param.get("dsdepth", 1)
      net = SegResNetDS(**input_param).to(device)
  
      net.train()
      result = net(torch.randn(input_shape).to(device))
      assert isinstance(result, list)
      self.assertEqual(dsdepth, len(result))
      for i in range(dsdepth):
          self.assertEqual(
              result[i].shape, expected_shapes[i], msg=str(input_param)
          )
  
file_path: MONAI/tests/test_segresnet_ds.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 SegResNetDS
  from tests.utils import SkipIfBeforePyTorchVersion, test_script_save
label_desc: Use image node_id 3 for calling the TestResNetDS obj's underlying member method code with example usage: obj.test_shape3(input_param, input_shape, expected_shapes) without return types