code: def test_paddle_triplet_margin_loss(
      dtype_and_inputs,
      margin,
      p,
      swap,
      reduction,
      test_flags,
      fn_tree,
      backend_fw,
      frontend,
      on_device,
  ):
      input_dtype, x = dtype_and_inputs
      helpers.test_frontend_function(
          input_dtypes=[input_dtype[0], input_dtype[1], input_dtype[2]],
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          input=x[0],
          positive=x[1],
          negative=x[2],
          margin=margin,
          p=p,
          swap=swap,
          reduction=reduction,
      )
  
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 18 for calling a global function with example usage: test_paddle_triplet_margin_loss(dtype_and_inputs, margin, p, swap, reduction, test_flags, fn_tree, backend_fw, frontend, on_device) without return types