def logsumexp_array(v1, v2):
    v_min = np.minimum(v1, v2)
    v_max = np.maximum(v1, v2)
    op = v_max + np.log(1 + np.exp(v_min - v_max))
    return op
computes logsumexp of each element in v1 and v2
dataset/ETHPy150Open balajiln/mondrianforest/src/utils.py/logsumexp_array