The dtype of grad_steps and s_ is float64 while self.truncate_gradient is a python float. Sorry I didn't answer it properly previously.
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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.