def interpolateWgts(prevWgts, currWgts):

    global psi

    i = 0
    newWgts = []
    for f_wgt in currWgts:
        new_wgt = (psi * f_wgt) + ((1 - psi) * prevWgts[i])
        newWgts.append( new_wgt )
        i += 1
    return newWgts
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/mert-scripts/PRO.py/interpolateWgts/original