code: def check_output(self, place):
      paddle.disable_static()
      pd_rbox1 = paddle.to_tensor(self.rbox1, place=place)
      pd_rbox2 = paddle.to_tensor(self.rbox2, place=place)
      actual_t = rbox_iou(pd_rbox1, pd_rbox2).numpy()
      poly_rbox1 = self.rbox1
      poly_rbox2 = self.rbox2
      poly_rbox1[:, 0:4] = self.rbox1[:, 0:4] * 1024
      poly_rbox2[:, 0:4] = self.rbox2[:, 0:4] * 1024
      expect_t = rbox_overlaps(poly_rbox1, poly_rbox2, use_cv2=False)
      self.assertAllClose(
          actual_t,
          expect_t,
          msg="rbox_iou has diff at {} \nExpect {}\nBut got {}".format(
              str(place), str(expect_t), str(actual_t)
          ),
      )
  
file_path: PaddleDetection/ppdet/ext_op/unittest/test_rbox_iou.py
imports: import numpy
  import sys
  import time
  from shapely.geometry import Polygon
  import paddle
  import unittest
  from ext_op import rbox_iou
label_desc: Use image node_id 5 for calling the RBoxIoUTest obj's underlying member method code with example usage: obj.check_output(place) without return types