def test_uniform(backend_default, args):
    be = NervanaObject.be
    dim1, dim2 = args
    shape = (dim1, dim2)
    Wdev = be.empty(shape)
    uniform_init = Uniform(low=-5, high=15)
    uniform_init.fill(Wdev)
    Whost = Wdev.get()
    flat = Whost.flatten()
    for elt in flat:
        assert elt <= 15 and -5 >= elt

    return
dataset/ETHPy150Open NervanaSystems/neon/tests/test_initializers.py/test_uniform/swapped operands of `>=`