def log_mean_exp(a):
    max_ = a.max(1)
    return max_ + T.log(T.exp(a - max_.dimshuffle(0, 'x')).mean(1))
Recursively visit a Q object, yielding each (key, value) pair found.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/distributions/parzen.py/log_mean_exp--crossover with--dataset/ETHPy150Open KristianOellegaard/django-hvad/hvad/query.py/q_children