code: def test_numpy_tensorinv(
      *,
      params,
      test_flags,
      on_device,
      fn_tree,
      frontend,
      backend_fw,
  ):
      dtype, x, ind = params
      if backend_fw == "paddle":
          # Paddle only supports ndim from 0 to 9
          assume(x.ndim <= 9)
      helpers.test_frontend_function(
          input_dtypes=dtype,
          backend_to_test=backend_fw,
          test_flags=test_flags,
          rtol=1e-01,
          atol=1e-01,
          frontend=frontend,
          fn_tree=fn_tree,
          on_device=on_device,
          a=x,
          ind=ind,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_linalg/test_solving_equations_and_inverting_matrices.py
imports: import sys
  import numpy
  from hypothesis import strategies, assume
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 6 for calling a global function with example usage: test_numpy_tensorinv() without return types