Hi, Theano will automatically add the dimshuffle in that case for you. We have a new tutorial on broadcasting that should help you:
http://deeplearning.net/software/theano_versions/dev/tutorial/broadcasting.html If you still have questions after, don't hesitate. Fred On Thu, Jan 26, 2017 at 2:05 AM, Varglur <[email protected]> wrote: > hi, > > for a scalar and a 3d tensor > how to add them ? should I use dimshuffle ? how to use > > thanks > > -- > > --- > 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 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.
