You need to do this just after c_t is defined and before it is used. Otherwise it won't help you.
Le dim. 11 juin 2017 17:10, Rezvan Nazari <[email protected]> a écrit : > hello > I would like to know how to get the shape of variable at each step in scan > fuction? > .I used the theano.printing.Print operation > (c_t = theano.printing.Print(attrs=['shape'])(c_t > but it didn't print out anything > Thank you. > > -- > > --- > 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.
