code: def test_config():
      gl_obj = GIoULoss(
          reduction=tf.keras.losses.Reduction.NONE, name="giou_loss"
      )
      assert gl_obj.name == "giou_loss"
      assert gl_obj.reduction == tf.keras.losses.Reduction.NONE
  
file_path: addons/tensorflow_addons/losses/tests/giou_loss_test.py
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.utils import test_utils
  from tensorflow_addons.losses import giou_loss, GIoULoss
label_desc: Use image node_id 1 for calling a global function with example usage: test_config() without return types