def test_he_uniform_receptive_field():
    from lasagne.init import HeUniform

    sample = HeUniform().sample((150, 150, 2))
    assert -0.10 <= sample.min() < -0.09
    assert 0.09 < sample.max() <= 0.10
dataset/ETHPy150Open Lasagne/Lasagne/lasagne/tests/test_init.py/test_he_uniform_receptive_field/original