FAST_RUN include stability optimization to help work around the limited
precision of floats. fast_compile don't have them.

If you keep Theano default mode=Mode and add the flag optimizer=stabilize,
you will have a compilation time close to fast_compile, but have the
stability optimization added. The execution time will be close to
fast_compile too.

Fred

On Tue, Mar 7, 2017 at 10:36 PM Ragav Venkatesan <[email protected]>
wrote:

> If I set my flags config.mode = FAST_RUN, things are fine, but if I change
> it to FAST_COMPILE or remove that flag and make the
> optimizer_including=fast_compile, I am producing NaNs. Any reason why this
> discrepancy exists?
>
> --
>
> ---
> 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.

Reply via email to