Theano/Theano — pull request #464 by lamblin (2012-02-21 18:24:08+00:00)
Title: Fix max'd error in EquilibriumOptimizer with constant folding

Constant folding can dramatically reduce the number of nodes in the graph, and EquilibriumOptimizer's max_use_ratio used to consider the current size of the graph. So as the graph size was decreasing, the threshold was decreasing too. Now, we consider the maximal size of the graph.