Discussion:
[theano-users] Non-deterministic Ops and MergeOptimizer
Gabe Schwartz
2017-05-20 04:22:56 UTC
Permalink
Hello,
I'm working on creating a few theano Ops, one of which is a GPU hashtable.
Due
to some details in how it gets built, applying the op twice to the same
inputs
can generate different outputs Despite this, the two resulting tables are
functionally the same.

Right now, the merge optimizer successfully merges two Apply instances for
hashtables created from identical inputs, and everything is fine. If run
w/mode=DebugMode though, theano raises an exception when the merge optimizer
changes the order of the bucket IDs. Is there a way to signal to the merge
optimizer that it's OK for outputs to be different, or to give it a way to
compare the
outputs and check if they are really "equal" (making sure the two tables
contain the
same keys)?
--
---
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...