code: def setUp(self):
      if hasattr(self.__class__, "seed"):
          seed = self.__class__.seed
          if (
              os.getenv("UNLOCK_SEED") is None
              or os.getenv("UNLOCK_SEED").lower() == "false"
          ):
              self.rng_state = torch.get_rng_state()
              torch.manual_seed(seed)
              if torch.cuda.is_available():
                  torch.cuda.manual_seed_all(seed)
              random.seed(seed)
  
file_path: gpytorch/gpytorch/test/base_test_case.py
imports: import os
  import random
  from abc import ABC
  import torch
label_desc: Use image node_id 1 for calling the BaseTestCase obj's underlying member method code with example usage: obj.setUp() without return types