def Log1p_1(task_id): return unary_op_test("SecureNN", task_id, tf.log1p, [[1.56, 2], [3.3, 4.43], [9.5, 1.85]], [[0.94, 1.099], [1.459, 1.692], [2.35, 1.047]])
def Square_2(task_id): return unary_op_test("Helix", task_id, tf.square, [[-11.26, -200], [-3.3, -4.43], [-100.0, -1.85]], [[126.788, 40000], [10.89, 19.625], [10000, 3.423]])
def Neg_1(task_id): return unary_op_test("SecureNN", task_id, tf.negative, [1.1], [-1.1])
def Exp_3(task_id): return unary_op_test("SecureNN", task_id, tf.exp, [[-1.01, -2.00], [-3.01, 1.3]], [[0.364, 0.135], [0.049, 3.669]], precision=0.2)
def Sqrt_3(task_id): return unary_op_test("SecureNN", task_id, tf.sqrt, [[0.4, 0.86], [1.2, 1]], [[0.632, 0.927], [1.095, 1.]])
def LogicNot_2(task_id): return unary_op_test("Helix", task_id, tf.logical_not, [0, 1, 0], [1., 0., 1.])
def Relu_1(task_id): return unary_op_test( "SecureNN", task_id, tf.nn.relu, [0., 1., -1, 1.23638, -0.886, 4., -4., 12.0, -12., 100., -100.95], [0., 1., 0., 1.23638, 0., 4., 0., 12., 0, 100., 0.])
def Rsqrt_3(task_id): return unary_op_test("SecureNN", task_id, tf.rsqrt, [[0.4, 0.86], [1.2, 1]], [[1.581, 1.078], [0.912, 1.]])
def Log_1(task_id): return unary_op_test("SecureNN", task_id, tf.log, [[1.56, 2], [3.3, 4.43], [10.0, 1.85]], [[0.445, 0.693], [1.194, 1.488], [2.303, 0.615]])
def Sigmoid_1(task_id): return unary_op_test( "SecureNN", task_id, tf.sigmoid, [0., 1., -1, 1.23638, -0.886, 4., -4., 12.0, -12., 100., -100.95], [0.5, 0.731, 0.269, 0.775, 0.292, 0.982, 0.018, 1., 0, 1., 0])
def Log_2(task_id): return unary_op_test("Helix", task_id, tf.log, [[8.2, 0.2], [0.425, 1], [5.6, 0.1]], [[2.104, -1.609], [-0.856, 0], [1.723, -2.303]])
def Exp_1(task_id): return unary_op_test("SecureNN", task_id, tf.exp, [[1.56, 2], [3.3, 4.43], [-1, 0.5]], [[4.759, 7.389], [27.113, 83.913], [0.368, 1.649]])
def Exp_4(task_id): return unary_op_test("Helix", task_id, tf.exp, [[2.02, 3.14], [+2, -0.01]], [[7.538, 23.104], [7.389, 0.990]], precision=0.5)
def Square_1(task_id): return unary_op_test("SecureNN", task_id, tf.square, [[1.56, 2], [3.3, 4.43], [100.0, 1.85]], [[2.4336, 4.0], [10.89, 19.625], [10000.0, 3.423]])
def Abs_2(task_id): return unary_op_test("Helix", task_id, tf.abs, [0., 1., -1., 65536., -65536.], [0., 1., 1., 65536., 65536.])
def Softmax_1(task_id): return unary_op_test("SecureNN", task_id, tf.softmax, [ 9.6, 75.2, -81.3, 8.04, 2.27, -70.95, -130.95, -123.51, 137.98, 89.54 ], [0., 0., 0., 0., 0., 0., 0., 0, 1., 0.])
def Abs_1(task_id): return unary_op_test("SecureNN", task_id, tf.abs, [0., 1., -1., 65536., -65536.], [0., 1., 1., 65536., 65536.])
def Rsqrt_4(task_id): return unary_op_test("Helix", task_id, tf.rsqrt, [[1.3, 2.02], [3.14, +2], [4, 19.0]], [[0.877, 0.703], [0.564, 0.707], [0.5, 0.229]])
def Argmax_2(task_id): return unary_op_test("Helix", task_id, tf.argmax, [[-1., -2., -3.], [-2., -3., -4.], [-5., -4., -3.], [-8., -7., -2.]], [0, 0, 2, 2])
def Sqrt_4(task_id): return unary_op_test("Helix", task_id, tf.sqrt, [[1.3, 2.02], [3.14, +2], [4, 19.0]], [[1.140, 1.421], [1.772, 1.414], [2., 4.358]])
def Argmax_1(task_id): return unary_op_test("SecureNN", task_id, tf.argmax, [[1., 2., 3.], [2., 3., 4.], [5., 4., 3.], [8., 7., 2.]], [2, 2, 0, 0])
def LogicNot_1(task_id): return unary_op_test("SecureNN", task_id, tf.logical_not, [1, 1, 0, 0], [0., 0., 1., 1.])
def Log1p_2(task_id): return unary_op_test("Helix", task_id, tf.log1p, [[6.6, 2.1], [4.235, 1], [5.6, 0.1]], [[2.028, 1.131], [1.655, 0.693], [1.8, 0.095]])
def Neg_2(task_id): return unary_op_test("Helix", task_id, tf.negative, [-1.1, 3.3], [1.1, -3.3])
def Exp_2(task_id): return unary_op_test("Helix", task_id, tf.exp, [[11.26, 0], [-0.5, 1], [-7.2, 0.1]], [[77652.594, 1.], [0.607, 2.718], [0.0007, 1.105]])