Ya reshaping the same variable worked somehow.

Thanks Anyways :)

On Thu, Sep 8, 2016 at 12:29 AM, Frédéric Bastien <
[email protected]> wrote:

> When you call theano.funciton, the inputs you give should correspond to
> the inputs when you call.
>
> You have a problem in your code in the part that build the multiple
> layers. You define input_left as a matrix, but later you override it to be
> a 4d tensor at line 295. This also make that your compiled function don't
> have multiple layers...
>
> You must keep the original matrix variable and not override it.
>
> Fred
>
> On Wed, Sep 7, 2016 at 2:22 AM, Ganesh Iyer <[email protected]> wrote:
>
>> Okay so I figured a workaround. But just wanted to know if I'm using
>> dmatrices why should it expect a 4 dimensional input.
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "theano-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "theano-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/theano-users/eOFITlIDUOI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to