code: def test_with_integer():
      boxes1 = tf.constant(
          [[4, 3, 7, 5], [5, 6, 10, 7]], dtype=tf.int32
      )
      boxes2 = tf.constant(
          [[3, 4, 6, 8], [14, 14, 15, 15]], dtype=tf.int32
      )
      expected_result = tf.constant(
          [1.07500000298023224, 1.9333333373069763], dtype=tf.float32
      )
      loss = giou_loss(boxes1, boxes2)
      test_utils.assert_allclose_according_to_type(
          loss, expected_result
      )
  
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 7 for calling a global function with example usage: test_with_integer() without return types