code: def test_torch_gpu(self):
      config.set_backend(
          backend="torch", device="cuda", dtype=torch.float32
      )
  
      self.assertEqual(config.BACKEND, "torch")
      self.assertEqual(config.get_backend(), "torch")
  
      self.assertEqual(config.DTYPE, torch.float32)
      self.assertEqual(config.get_dtype(), torch.float32)
  
      self.assertEqual(config.DEVICE, torch.device("cuda"))
      self.assertEqual(config.get_device(), torch.device("cuda"))
  
      self.assertEqual(config.SHOW_PROGRESS, True)
      self.assertEqual(config.get_show_progress(), True)
  
file_path: pgmpy/pgmpy/tests/test_global_vars.py
imports: import unittest
  import numpy
  import torch
  from pgmpy import config
label_desc: Use image node_id 3 for calling the TestConfig obj's underlying member method code with example usage: obj.test_torch_gpu() without return types