code: def test_ill_arg(self):
      with self.assertRaises(ValueError):
          SwinUNETR(
              in_channels=1,
              out_channels=3,
              img_size=(128, 128, 128),
              feature_size=24,
              norm_name="instance",
              attn_drop_rate=4,
          )
  
      with self.assertRaises(ValueError):
          SwinUNETR(
              in_channels=1,
              out_channels=2,
              img_size=(96, 96),
              feature_size=48,
              norm_name="instance",
          )
  
      with self.assertRaises(ValueError):
          SwinUNETR(
              in_channels=1,
              out_channels=4,
              img_size=(96, 96, 96),
              feature_size=50,
              norm_name="instance",
          )
  
      with self.assertRaises(ValueError):
          SwinUNETR(
              in_channels=1,
              out_channels=3,
              img_size=(85, 85, 85),
              feature_size=24,
              norm_name="instance",
              drop_rate=0.4,
          )
  
file_path: MONAI/tests/test_swin_unetr.py
imports: from __future__ import annotations
  import os
  import tempfile
  import unittest
  from unittest import skipUnless
  import torch
  from parameterized import parameterized
  from monai.apps import download_url
  from monai.networks import eval_mode
  from monai.networks.nets.swin_unetr import PatchMerging, PatchMergingV2, SwinUNETR, filter_swinunetr
  from monai.networks.utils import copy_model_state
  from monai.utils import optional_import
  from tests.utils import assert_allclose, pytorch_after, skip_if_downloading_fails, skip_if_no_cuda, skip_if_quick, testing_data_config
label_desc: Use image node_id 2 for calling the TestSWINUNETR obj's underlying member method code with example usage: obj.test_ill_arg() without return types