code: def setUp(self):
      torch.backends.cudnn.deterministic = True
      torch.backends.cudnn.benchmark = False
      torch.manual_seed(0)
      self.device = torch.device(
          "cuda:0" if torch.cuda.is_available() else "cpu:0"
      )
  
file_path: MONAI/tests/test_reg_loss_integration.py
imports: from __future__ import annotations
  import unittest
  import torch
  import torch.nn
  import torch.optim
  from parameterized import parameterized
  from monai.losses import BendingEnergyLoss, GlobalMutualInformationLoss, LocalNormalizedCrossCorrelationLoss
  from tests.utils import SkipIfBeforePyTorchVersion
label_desc: Use image node_id 1 for calling the TestRegLossIntegration obj's underlying member method code with example usage: obj.setUp() without return types