OK, thanks.

self.truncate_gradient should not be a Python float, it should be an integer. This is probably why the dtype of grad_steps is float64, instead of int64 (or another integer dtype).


Do you have any idea why self.truncate_gradient would not be "-1" (the default value)? Did you set it?

On 2018-03-06 02:07 PM, Siddhartha Saxena wrote:
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 <mailto:theano-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
Pascal Lamblin

--

--- 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