def METHOD_NAME(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)