code: def test_paddle_adaptive_max_pool2d(
      *,
      dtype_and_x,
      output_size,
      test_flags,
      frontend,
      on_device,
      backend_fw,
      fn_tree,
  ):
      input_dtype, x = dtype_and_x
      helpers.test_frontend_function(
          input_dtypes=input_dtype,
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          on_device=on_device,
          fn_tree=fn_tree,
          x=x[0],
          output_size=output_size,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_paddle/test_nn/test_functional/test_pooling.py
imports: from hypothesis import strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_frontends.test_torch.test_nn.test_functional import test_pooling_functions
label_desc: Use image node_id 4 for calling a global function with example usage: test_paddle_adaptive_max_pool2d() without return types