Swapaxes

NEWS.txt:
-add theano.sandbox.linalg.{lstsq,norm}() (Jeremie Tanguay)
-add a_tensor_var.{fill,swapaxes}() (Jeremie Tanguay)
Good catch. I just included a fix for it in a current PR.


On Wed, Jun 25, 2014 at 10:07 PM, Olivier Delalleau <
notifications@github.com> wrote:

> In theano/sandbox/linalg/ops.py:
>
> > +        elif ord == 'inf':
> > +            return tensor.max(tensor.sum(abs(x), 1))
> > +        elif ord == '-inf':
> > +            return tensor.min(tensor.sum(abs(x), 1))
> > +        elif ord == 1:
> > +            return tensor.max(tensor.sum(abs(x), 0))
> > +        elif ord == -1:
> > +            return tensor.min(tensor.sum(abs(x),0))
> > +        else:
> > +            raise ValueError(0)
> > +    elif ndim > 2:
> > +        raise NotImplementedError("We don't support norm witn ndim > 2")
> > +
> > +class lstsq(theano.Op):
> > +    def __eq__(self, other):
> > +        pass
>
> Isn't the implementation of __eq__ missing?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Theano/Theano/pull/1848/files#r14222736>.
>