code: def test_jax_einsum(
      *,
      eq_n_op,
      dtype,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      kw = {}
      i = 0
      for x_ in eq_n_op:
          kw[f"x{i}"] = x_
          i += 1
      test_flags.num_positional_args = i
      helpers.test_frontend_function(
          input_dtypes=dtype,
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          **kw,
          out=None,
          optimize="optimal",
          precision=None,
          _use_xeinsum=False,
      )
  
imports: from hypothesis import strategies, assume
  import numpy
  import ivy
  import ivy_tests.test_ivy.helpers
  import ivy_tests.test_ivy.test_frontends.test_numpy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_functional.test_core.test_statistical import _statistical_dtype_values, _get_castable_dtype
  from ivy import inf
label_desc: Use image node_id 14 for calling a global function with example usage: test_jax_einsum() without return types