code: def _device(c: DeviceConfigs):
      return c.device_info.device
  
file_path: labml/helpers/labml_helpers/device.py
imports: import torch
  from labml.configs import BaseConfigs, hyperparams, option
label_desc: Use image node_id 1 for calling a global function with example usage: _device(c) and returns: c