code: def test_current_backend(backend, array_type):
      # test backend inference from arguments when stack clear
      ivy.unset_backend()
      assert ivy.current_backend(array_type) is importlib.import_module(
          _backend_dict[backend]
      )
  
      # global_backend > argument's backend.
      if "torch" in _available_frameworks():
          ivy.set_backend("torch")
          ivy.utils.assertions.check_equal(
              ivy.current_backend(array_type),
              importlib.import_module(_backend_dict["torch"]),
              as_array=False,
          )
      else:
          ivy.set_backend("numpy")
          ivy.utils.assertions.check_equal(
              ivy.current_backend(array_type),
              importlib.import_module(_backend_dict["numpy"]),
              as_array=False,
          )
  
file_path: ivy/ivy_tests/test_ivy/test_misc/test_backend_utils/test_backend_handler.py
imports: from packaging import version
  import pytest
  import importlib
  import types
  import numpy
  import ivy
  from ivy.utils.backend.handler import _backend_dict
  from ivy_tests.test_ivy.helpers.available_frameworks import _available_frameworks
label_desc: Use image node_id 2 for calling a global function with example usage: test_current_backend(backend, array_type) without return types