def reset_accs(updates, params):
    for key in updates:
        if not key in params:
            v = key.get_value(borrow=True)
            key.set_value(np.zeros(v.shape,dtype=v.dtype))

# build loss as in (Kingma, Welling 2014) Autoencoding Variational Bayes
dataset/ETHPy150Open woshialex/diagnose-heart/CNN_A/utils.py/reset_accs/original