code: def test_wrong_args(self):
      with self.assertRaisesRegex(ValueError, ""):
          apply_filter(torch.ones((1, 2, 3, 2)), torch.ones((2,)))
      with self.assertRaisesRegex(NotImplementedError, ""):
          apply_filter(torch.ones((1, 1, 1, 2, 3, 2)), torch.ones((2,)))
      with self.assertRaisesRegex(TypeError, ""):
          apply_filter(((1, 1, 1, 2, 3, 2)), torch.ones((2,)))
  
file_path: MONAI/tests/test_apply_filter.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from monai.networks.layers import apply_filter
label_desc: Use image node_id 4 for calling the ApplyFilterTestCase obj's underlying member method code with example usage: obj.test_wrong_args() without return types