def test_logsoftmax_values_1():
    npr.seed(1)

    for ii in xrange(NUM_TRIALS):

        np_X = npr.randn(5,6)
        X    = kayak.Parameter(np_X)
        Y    = kayak.LogSoftMax(X)

        np_Y = np.exp(np_X)
        np_Y = np.sum(np_Y, axis=1)[:,np.newaxis] / np_Y
        np_Y = np.log(np_Y)

        assert Y.shape == np_X.shape
        assert np.all(close_float(Y.value, np_Y))
dataset/ETHPy150Open HIPS/Kayak/tests/test_LogSoftMax.py/test_logsoftmax_values_1/swapped operands of `/`