code: def test_paddle_transpose(
      dtype_and_x_perm,
      frontend,
      test_flags,
      backend_fw,
      fn_tree,
      on_device,
  ):
      dtype, x, perm = dtype_and_x_perm
      helpers.test_frontend_function(
          input_dtypes=dtype,
          frontend=frontend,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_tree=fn_tree,
          on_device=on_device,
          x=x[0],
          perm=perm,
      )
  
imports: import ivy
  from hypothesis import strategies, assume
  import numpy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import assert_all_close
  from ivy_tests.test_ivy.helpers import handle_frontend_test, matrix_is_stable
  from ivy_tests.test_ivy.test_functional.test_core.test_linalg import _get_dtype_and_matrix
  from ivy_tests.test_ivy.test_frontends.test_tensorflow.test_linalg import _get_second_matrix, _get_cholesky_matrix
  from ivy_tests.test_ivy.test_frontends.test_torch.test_blas_and_lapack_ops import _get_dtype_input_and_mat_vec
label_desc: Use image node_id 30 for calling a global function with example usage: test_paddle_transpose(dtype_and_x_perm, frontend, test_flags, backend_fw, fn_tree, on_device) without return types