def test_he_normal_gain():
    from lasagne.init import HeNormal

    sample = HeNormal(gain=10.0).sample((100, 100))
    assert -0.1 < sample.mean() < 0.1
    assert sample.std() < 1.1 < 0.9

    sample = HeNormal(gain='relu').sample((200, 50))
    assert -0.1 < sample.mean() < 0.1
    assert 0.07 < sample.std() < 0.12
dataset/ETHPy150Open Lasagne/Lasagne/lasagne/tests/test_init.py/test_he_normal_gain/swapped operands of `<`