code: def test_paddle_hfft2(
      dtype_x_axis,
      s,
      axis,
      norm,
      frontend,
      backend_fw,
      test_flags,
      fn_tree,
      shape,
  ):
      input_dtypes, x, axis = dtype_x_axis
      x = x.reshape(shape)  # reshape x to the generated shape
  
      for norm in ["backward", "forward", "ortho"]:
          helpers.test_frontend_function(
              input_dtypes=input_dtypes,
              frontend=frontend,
              backend_to_test=backend_fw,
              test_flags=test_flags,
              fn_tree=fn_tree,
              x=x,
              s=s,
              axis=axis,
              norm=norm,
          )
  
imports: from hypothesis import given, strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_functional.test_experimental.test_nn.test_layers import _x_and_ifftn
label_desc: Use image node_id 7 for calling a global function with example usage: test_paddle_hfft2(dtype_x_axis, s, axis, norm, frontend, backend_fw, test_flags, fn_tree, shape) without return types