---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-83-b7cef5938ac0> in <module>()
----> 1 ae.gradientfunction(x)
/Users/joshuafass/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/Theano-0.6.0-py2.7.egg/theano/compile/function_module.pyc in __call__(self, *args, **kwargs)
495 try:
496 s.storage[0] = s.type.filter(arg, strict=s.strict,
--> 497 allow_downcast=s.allow_downcast)
498
499 except Exception, e:
/Users/joshuafass/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/Theano-0.6.0-py2.7.egg/theano/tensor/type.pyc in filter(self, data, strict, allow_downcast)
155 raise TypeError("Wrong number of dimensions: expected %s,"
156 " got %s with shape %s." % (self.ndim, data.ndim,
--> 157 data.shape))
158 if not data.flags.aligned:
159 try:
TypeError: ('Bad input argument to theano function with name "<ipython-input-69-7f4d02e22e9a>:34" at index 0(0-based)', 'Wrong number of dimensions: expected 2, got 1 with shape (10,).')