code: def test_jax_svd(
      *,
      dtype_and_x,
      full_matrices,
      compute_uv,
      on_device,
      fn_tree,
      frontend,
      backend_fw,
      test_flags,
  ):
      dtype, x = dtype_and_x
      x = np.asarray(x[0], dtype=dtype[0])
      # make symmetric positive-definite beforehand
      x = np.matmul(x.T, x) + np.identity(x.shape[0]) * 1e-3
  
      ret, frontend_ret = helpers.test_frontend_function(
          input_dtypes=dtype,
          frontend=frontend,
          backend_to_test=backend_fw,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          test_values=False,
          x=x,
          full_matrices=full_matrices,
          compute_uv=compute_uv,
      )
  
      if compute_uv:
          with BackendHandler.update_backend(backend_fw) as ivy_backend:
              ret = [ivy_backend.to_numpy(x) for x in ret]
          frontend_ret = [np.asarray(x) for x in frontend_ret]
  
          u, s, vh = ret
          frontend_u, frontend_s, frontend_vh = frontend_ret
  
          assert_all_close(
              ret_np=u @ np.diag(s) @ vh,
              ret_from_gt_np=frontend_u
              @ np.diag(frontend_s)
              @ frontend_vh,
              rtol=1e-2,
              atol=1e-2,
              backend=backend_fw,
              ground_truth_backend=frontend,
          )
      else:
          with BackendHandler.update_backend(backend_fw) as ivy_backend:
              ret = ivy_backend.to_numpy(ret)
          assert_all_close(
              ret_np=ret,
              ret_from_gt_np=np.asarray(frontend_ret[0]),
              rtol=1e-2,
              atol=1e-2,
              backend=backend_fw,
              ground_truth_backend=frontend,
          )
  
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 21 for calling a global function with example usage: test_jax_svd() without return types