def test_glorot_uniform_gain():
    from lasagne.init import GlorotUniform

    sample = GlorotUniform(gain=10.0).sample((150, 450))
    assert -1.0 <= -0.9 < sample.min()
    assert 0.9 < sample.max() <= 1.0

    sample = GlorotUniform(gain='relu').sample((100, 100))
    assert -0.01 < sample.mean() < 0.01
    assert 0.132 < sample.std() < 0.152
dataset/ETHPy150Open Lasagne/Lasagne/lasagne/tests/test_init.py/test_glorot_uniform_gain/swapped operands of `<`