# HG changeset patch # User James Bergstra # Date 1225142928 14400 # Node ID fbfd3932fd0052df3f7e8670c068e3988acbb8a1 # Parent 0ea793361d85484acfffeeacfb378a37e7077ddd typo diff -r 0ea793361d85 -r fbfd3932fd00 algorithms/sgd.py --- a/algorithms/sgd.py Fri Oct 24 13:28:30 2008 -0400 +++ b/algorithms/sgd.py Mon Oct 27 17:28:48 2008 -0400 @@ -1,5 +1,6 @@ from theano.compile import module +from theano import tensor as T class StochasticGradientDescent(module.FancyModule): def __init__(self, params, gparams, lr=None):