code: def __enter__(self):
      self.prev_device_type = GlobalSettings().device_type
      set_global_device_type(self.device_type)
  
imports: from cuml.internals.global_settings import GlobalSettings
  from cuml.internals.device_type import DeviceType
label_desc: Use image node_id 2 for calling the using_device_type obj's underlying member method code with example usage: obj.__enter__() without return types