You can use reshape rather than concatenate (similar to how you could do it 
in numpy).

On Saturday, December 24, 2016 at 2:48:58 AM UTC-5, Quanty wrote:
>
> I know there is a T.concatenate function but the input of it can only be 
> list. But the output of theano.scan is a tensor. For example, I want to 
> make a tensor with the shape (2,3,4) which is the output of theano.scan to 
> be a matrix of (2,12), I can't do it with T.concatenate because it is not a 
> list of (3,4) matrices.
>

-- 

--- 
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 theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to