def tf_box_4c_to_offsets(boxes_4c, box_4c_gt):
    """Calculates box_4c offsets to regress to ground truth

    Args:
        boxes_4c: boxes_4c to calculate offset for (N, 10)
        box_4c_gt: box_4c ground truth to regress to (10,)

    Returns:
        box_4c offsets (N, 10)
    """
    return box_4c_gt - boxes_4c