Can you give the full error with stack trace? If Theano give this error it is probably because there is a path in the grad that request it.
Le 14 sept. 2016 04:14, <[email protected]> a écrit : > But my function does not need to calculate gradient,how can I fix this? > > -- > > --- > 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.
