@numba.njit
def corner_to_standup_nd_jit(boxes_corner):
    num_boxes = boxes_corner.shape[0]
    ndim = boxes_corner.shape[(- 1)]
    result = np.zeros((num_boxes, (ndim * 2)), dtype=boxes_corner.dtype)
    for i in range(num_boxes):
        for j in range(ndim):
            result[(i, j)] = np.min(boxes_corner[i, :, j])
        for j in range(ndim):
            result[(i, (j + ndim))] = np.max(boxes_corner[i, :, j])
    return result
@numba.njit
def corner_to_standup_nd_jit(boxes_corner):
    num_boxes = boxes_corner.shape[0]
    ndim = boxes_corner.shape[(- 1)]
    result = np.zeros((num_boxes, (ndim * 2)), dtype=boxes_corner.dtype)
    for i in range(num_boxes):
        for j in range(ndim):
            result[(i, j)] = np.min(boxes_corner[i, :, j])
        for j in range(ndim):
            result[(i, (j + ndim))] = np.max(boxes_corner[i, :, j])
    return result