def _check_data_type_forward(self, x, img_info, gt_boxes):
    assert (x.shape[0] == 1)
    assert (x.dtype.kind == 'f')
    assert isinstance(x, Variable)
    assert (img_info.shape == (1, 2))
    assert (img_info.dtype.kind == 'i')
    assert isinstance(img_info, Variable)
    if (gt_boxes is not None):
        assert (gt_boxes.shape[0] == 1)
        assert (gt_boxes.shape[1] > 0)
        assert (gt_boxes.shape[2] == 5)
        assert (gt_boxes.dtype.kind == 'f')
        assert isinstance(gt_boxes, Variable)
def _check_data_type_forward(self, x, img_info, gt_boxes):
    assert (x.shape[0] == 1)
    assert (x.dtype.kind == 'f')
    assert isinstance(x, Variable)
    assert (img_info.shape == (1, 2))
    assert (img_info.dtype.kind == 'i')
    assert isinstance(img_info, Variable)
    if (gt_boxes is not None):
        assert (gt_boxes.shape[0] == 1)
        assert (gt_boxes.shape[1] > 0)
        assert (gt_boxes.shape[2] == 5)
        assert (gt_boxes.dtype.kind == 'f')
        assert isinstance(gt_boxes, Variable)