code: def test_ill_arg(self):
      with self.assertRaises(ValueError):
          UNETR(
              in_channels=1,
              out_channels=3,
              img_size=(128, 128, 128),
              feature_size=16,
              hidden_size=128,
              mlp_dim=3072,
              num_heads=12,
              pos_embed="conv",
              norm_name="instance",
              dropout_rate=5.0,
          )
  
      with self.assertRaises(ValueError):
          UNETR(
              in_channels=1,
              out_channels=4,
              img_size=(32, 32, 32),
              feature_size=32,
              hidden_size=512,
              mlp_dim=3072,
              num_heads=12,
              pos_embed="conv",
              norm_name="instance",
              dropout_rate=0.5,
          )
  
      with self.assertRaises(ValueError):
          UNETR(
              in_channels=1,
              out_channels=3,
              img_size=(96, 96, 96),
              feature_size=16,
              hidden_size=512,
              mlp_dim=3072,
              num_heads=14,
              pos_embed="conv",
              norm_name="batch",
              dropout_rate=0.4,
          )
  
      with self.assertRaises(ValueError):
          UNETR(
              in_channels=1,
              out_channels=4,
              img_size=(96, 96, 96),
              feature_size=8,
              hidden_size=768,
              mlp_dim=3072,
              num_heads=12,
              pos_embed="perc",
              norm_name="instance",
              dropout_rate=0.2,
          )
  
file_path: MONAI/tests/test_unetr.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.networks import eval_mode
  from monai.networks.nets.unetr import UNETR
  from tests.utils import SkipIfBeforePyTorchVersion, skip_if_quick, test_script_save
label_desc: Use image node_id 2 for calling the TestUNETR obj's underlying member method code with example usage: obj.test_ill_arg() without return types