def METHOD_NAME():
    alloc_dimshuffle = out2in(local_alloc_dimshuffle)
    x = vector("x")
    m = iscalar("m")
    y = x.dimshuffle("x", 0)
    out = at.alloc(y, m, 1, x.shape[0])
    g = FunctionGraph([x, m], [out])
    alloc_dimshuffle(g)
    topo = g.toposort()
    assert not all(isinstance(x, DimShuffle) for x in topo)