code: def test_extract_levels(
      self, input_param, input_shape, expected_shape
  ):
      net = LocalNet(**input_param).to(device)
      self.assertEqual(
          len(net.decode_deconvs),
          len(input_param["extract_levels"]) - 1,
      )
      self.assertEqual(
          len(net.decode_convs), len(input_param["extract_levels"]) - 1
      )
  
file_path: MONAI/tests/test_localnet.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.networks import eval_mode
  from monai.networks.nets.regunet import LocalNet
  from tests.utils import test_script_save
label_desc: Use image node_id 2 for calling the TestLocalNet obj's underlying member method code with example usage: obj.test_extract_levels(input_param, input_shape, expected_shape) without return types