code: def device(device_name):
      return backend.device_scope(device_name)
  
imports: from keras import backend
  from keras.api_export import keras_export
label_desc: Use image node_id 1 for calling a global function with example usage: device(device_name) and returns: backend