#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as rtt import tensorflow as tf binary_op_test(tf.add, "tf.add") binary_op_test(rtt.SecureAdd, "rtt.SecureAdd")
#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as rtt import tensorflow as tf binary_op_test(tf.subtract, "tf.subtract") binary_op_test(rtt.SecureSub, "rtt.SecureSub")
#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as cb import tensorflow as tf binary_op_test(tf.multiply, "tf.multiply") binary_op_test(cb.SecureMul, "cb.SecureMul") cb.deactivate()
#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as cb import tensorflow as tf binary_op_test(tf.add, "tf.add") binary_op_test(cb.SecureAdd, "cb.SecureAdd") cb.deactivate()
#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as cb import tensorflow as tf binary_op_test(tf.subtract, "tf.subtract") binary_op_test(cb.SecureSub, "cb.SecureSub") cb.deactivate()
#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as cb import tensorflow as tf binary_op_test(tf.truediv, "tf.truediv") binary_op_test(cb.SecureTruediv, "cb.SecureTruediv") cb.deactivate()
#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as rtt import tensorflow as tf binary_op_test(tf.multiply, "tf.multiply") binary_op_test(rtt.SecureMul, "rtt.SecureMul")
#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as cb import tensorflow as tf binary_op_test(tf.div, "tf.div") # binary_op_test(cb.SecureDiv, "cb.SecureDiv") cb.deactivate()
#!/usr/bin/python from internal.test_cases import binary_op_test import latticex.rosetta as rtt import tensorflow as tf binary_op_test(tf.truediv, "tf.truediv") binary_op_test(rtt.SecureTruediv, "rtt.SecureTruediv")