'Check if optimization works.'

def test_logsumexp_optim(self):

    for k in [KTF]:
        x_np = np.array([10000.0, 0.0001])
        assert_allclose(k.eval(k.logsumexp(k.variable(x_np), axis=0)), 10000.0, rtol=1e-05)
