code: def get_device(self):
      return str(self.model.device)
  
file_path: nlpaug/nlpaug/model/lang_models/gpt2.py
imports: import logging
  from nlpaug.model.lang_models import LanguageModels
label_desc: Use image node_id 2 for calling the Gpt2 obj's underlying member method code with example usage: obj.get_device() and returns: str