code: def __init__(self, device_type):
      self.device_type = device_type
      self.prev_device_type = None
  
imports: from cuml.internals.global_settings import GlobalSettings
  from cuml.internals.device_type import DeviceType
label_desc: Use image node_id 1 to create a new using_device_type object  with example: obj = using_device_type(device_type)