code: def test_huber_loss(
      dtype_and_true,
      dtype_and_pred,
      reduction,
      delta,
      test_flags,
      backend_fw,
      fn_name,
      on_device,
  ):
      true_dtype, true = dtype_and_true
      pred_dtype, pred = dtype_and_pred
      helpers.test_function(
          input_dtypes=true_dtype + pred_dtype,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          on_device=on_device,
          true=true[0],
          pred=pred[0],
          reduction=reduction,
          delta=delta,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_functional/test_experimental/test_nn/test_losses.py
imports: from hypothesis import strategies
  import numpy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
label_desc: Use image node_id 3 for calling a global function with example usage: test_huber_loss(dtype_and_true, dtype_and_pred, reduction, delta, test_flags, backend_fw, fn_name, on_device) without return types