code: def test_jax_tensorinv(
      *,
      params,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      dtype, x, ind = params
      helpers.test_frontend_function(
          input_dtypes=dtype,
          rtol=1e-01,
          atol=1e-01,
          frontend=frontend,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_tree=fn_tree,
          on_device=on_device,
          a=x,
          ind=ind,
      )
  
imports: import sys
  import numpy
  from hypothesis import strategies, assume
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import assert_all_close, handle_frontend_test, BackendHandler
  from ivy_tests.test_ivy.test_functional.test_core.test_linalg import _get_dtype_and_matrix, _matrix_rank_helper
  from ivy_tests.test_ivy.helpers.hypothesis_helpers.general_helpers import matrix_is_stable
label_desc: Use image node_id 22 for calling a global function with example usage: test_jax_tensorinv() without return types