code: def test_ill_opts(self):
      pred = torch.ones((1, 3, 3, 3, 3), dtype=torch.float)
      target = torch.ones((1, 3, 3, 3, 3), dtype=torch.float)
      with self.assertRaisesRegex(ValueError, ""):
          LocalNormalizedCrossCorrelationLoss(kernel_type="unknown")(
              pred, target
          )
      with self.assertRaisesRegex(ValueError, ""):
          LocalNormalizedCrossCorrelationLoss(kernel_type=None)(
              pred, target
          )
      with self.assertRaisesRegex(ValueError, ""):
          LocalNormalizedCrossCorrelationLoss(kernel_size=4)(
              pred, target
          )
      with self.assertRaisesRegex(ValueError, ""):
          LocalNormalizedCrossCorrelationLoss(reduction="unknown")(
              pred, target
          )
      with self.assertRaisesRegex(ValueError, ""):
          LocalNormalizedCrossCorrelationLoss(reduction=None)(
              pred, target
          )
  
file_path: MONAI/tests/test_local_normalized_cross_correlation_loss.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.losses.image_dissimilarity import LocalNormalizedCrossCorrelationLoss
label_desc: Use image node_id 3 for calling the TestLocalNormalizedCrossCorrelationLoss obj's underlying member method code with example usage: obj.test_ill_opts() without return types