code: def test_paddle_affine_grid(
      *,
      dtype_and_input_and_other,
      on_device,
      backend_fw,
      fn_tree,
      frontend,
      test_flags,
  ):
      dtype, theta, size, align_corners = dtype_and_input_and_other
  
      helpers.test_frontend_function(
          input_dtypes=dtype,
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          theta=theta,
          out_shape=size,
          align_corners=align_corners,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_paddle/test_nn/test_functional/test_vision.py
imports: import ivy
  from hypothesis import assume, strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 3 for calling a global function with example usage: test_paddle_affine_grid() without return types