Commit 768c196d authored by Adam Procter's avatar Adam Procter

Try a different formula, see if it makes PLAIDML_CPU happy

parent d485b09f
...@@ -81,6 +81,6 @@ void ngraph::runtime::plaidml::ImplXor::Apply() ...@@ -81,6 +81,6 @@ void ngraph::runtime::plaidml::ImplXor::Apply()
.add(builder::Input{op_input(0), "A"}) .add(builder::Input{op_input(0), "A"})
.add(builder::Input{op_input(1), "B"}) .add(builder::Input{op_input(1), "B"})
.add(builder::Output{"C"}) .add(builder::Output{"C"})
.add(builder::Elementwise{"C", "A ? cmp_eq(B, 0) : B"}) .add(builder::Elementwise{"C", "A ? (B ? 0 : A) : B"})
.finalize()); .finalize());
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment