code: def test_script(self):
      input_param, input_shape, _ = TEST_CASE_RES_BASIC_BLOCK[0]
  
      for net_type in (UnetResBlock, UnetBasicBlock):
          net = net_type(**input_param)
          test_data = torch.randn(input_shape)
          test_script_save(net, test_data)
  
file_path: MONAI/tests/test_dynunet_block.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.networks import eval_mode
  from monai.networks.blocks.dynunet_block import UnetBasicBlock, UnetResBlock, UnetUpBlock, get_padding
  from tests.utils import test_script_save
label_desc: Use image node_id 3 for calling the TestResBasicBlock obj's underlying member method code with example usage: obj.test_script() without return types