code: def test_paddle_binary_cross_entropy(
      dtype_and_vals,
      reduction,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      input_dtype, x = dtype_and_vals
      helpers.test_frontend_function(
          input_dtypes=[input_dtype[0], input_dtype[1]],
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          input=x[0],
          label=x[1],
          weight=x[2],
          reduction=reduction,
          rtol=1e-02,
          atol=1e-02,
      )
  
imports: from hypothesis import strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 2 for calling a global function with example usage: test_paddle_binary_cross_entropy(dtype_and_vals, reduction, on_device, fn_tree, frontend, test_flags, backend_fw) without return types