code: def _make_backend_config(device_name):
      backend_config = chainer.testing.BackendConfig(
          {
              "use_chainerx": True,
              "chainerx_device": device_name,
          }
      )
      return backend_config
  
imports: import inspect
  import sys
  import unittest
  import numpy
  import pytest
  import chainer
  import chainer.testing
  import chainerx
label_desc: Use image node_id 1 for calling a global function with example usage: _make_backend_config(device_name) and returns: backend_config