def _concat_bbox(bbox, bboxes):
    'Helper function that concats bbox to bboxes along the first dimension.'
    bboxes_sum_check = tf.reduce_sum(bboxes)
    bbox = tf.expand_dims(bbox, 0)
    bboxes = tf.cond(tf.equal(bboxes_sum_check, (- 4.0)), (lambda : bbox), (lambda : tf.concat([bboxes, bbox], 0)))
    return bboxes
Helper function that concats bbox to bboxes along the first dimension.
def _concat_bbox(bbox, bboxes):
    
    bboxes_sum_check = tf.reduce_sum(bboxes)
    bbox = tf.expand_dims(bbox, 0)
    bboxes = tf.cond(tf.equal(bboxes_sum_check, (- 4.0)), (lambda : bbox), (lambda : tf.concat([bboxes, bbox], 0)))
    return bboxes