code: def test_paddle_pad(
      *,
      dtype_and_x,
      padding,
      fill,
      padding_mode,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      input_dtype, x = dtype_and_x
      helpers.test_frontend_function(
          input_dtypes=input_dtype,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          img=x[0],
          padding=padding,
          fill=fill,
          padding_mode=padding_mode,
          backend_to_test=backend_fw,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_paddle/test_vision/test_transforms.py
imports: from hypothesis import strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 5 for calling a global function with example usage: test_paddle_pad() without return types