From 10a37fb4771287276be5d3fe8a5f324125eb43be Mon Sep 17 00:00:00 2001 From: Jessica Sun <69991526+JessicaSun1022@users.noreply.github.com> Date: Thu, 25 Jul 2024 05:21:54 -0400 Subject: [PATCH] Create Addcdiv.json (#132) * Add files via upload * Delete Floor Divide.json from master branch * Create Count Nonzero.json * Delete compute_operations/math_operations/Count Nonzero.json * Create Addcdiv.json * Update Addcdiv.json --- compute_operations/math_operations/Addcdiv.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 compute_operations/math_operations/Addcdiv.json diff --git a/compute_operations/math_operations/Addcdiv.json b/compute_operations/math_operations/Addcdiv.json new file mode 100644 index 00000000..738752e7 --- /dev/null +++ b/compute_operations/math_operations/Addcdiv.json @@ -0,0 +1 @@ +{"name":"Addcdiv","type":"COMPOSITE_OPERATION","inputs":[{"name":"Addend","primitive_name":"Input"},{"name":"Numerator","primitive_name":"Input (1)"},{"name":"Denominator","primitive_name":"Input (2)"},{"name":"Multiplier","primitive_name":"Input (3)"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"parse_decimal","primitive_name":"parse_decimal","type":"PRIMITIVE_OPERATION","position":{"x":348,"y":169},"inputs":[{"name":"input","primitive_name":"input"}],"outputs":[{"name":"output","primitive_name":"output","flow_state":"UNBOUND"}]},{"name":"parse_decimal_1","primitive_name":"parse_decimal","type":"PRIMITIVE_OPERATION","position":{"x":355,"y":343},"inputs":[{"name":"input","primitive_name":"input"}],"outputs":[{"name":"output","primitive_name":"output","flow_state":"UNBOUND"}]},{"name":"parse_decimal_3","primitive_name":"parse_decimal","type":"PRIMITIVE_OPERATION","position":{"x":345,"y":43},"inputs":[{"name":"input","primitive_name":"input"}],"outputs":[{"name":"output","primitive_name":"output","flow_state":"UNBOUND"}]},{"name":"divide","primitive_name":"divide","type":"PRIMITIVE_OPERATION","position":{"x":937,"y":169},"inputs":[{"name":"left_operand","primitive_name":"left_operand"},{"name":"right_operand","primitive_name":"right_operand"}],"outputs":[{"name":"divided_result","primitive_name":"divided_result","flow_state":"UNBOUND"}]},{"name":"parse_decimal_2","primitive_name":"parse_decimal","type":"PRIMITIVE_OPERATION","position":{"x":359,"y":525},"inputs":[{"name":"input","primitive_name":"input"}],"outputs":[{"name":"output","primitive_name":"output","flow_state":"UNBOUND"}]},{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","position":{"x":1383,"y":332},"inputs":[{"name":"input","primitive_name":"input"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","position":{"x":1851,"y":526},"inputs":[{"name":"target","primitive_name":"target"},{"name":"shape","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]},{"name":"element_wise_multiply","primitive_name":"element_wise_multiply","type":"PRIMITIVE_OPERATION","position":{"x":2293,"y":170},"inputs":[{"name":"left_array","primitive_name":"left_array"},{"name":"right_array","primitive_name":"right_array"}],"outputs":[{"name":"multiplied_array","primitive_name":"multiplied_array","flow_state":"UNBOUND"}]},{"name":"add","primitive_name":"add","type":"PRIMITIVE_OPERATION","position":{"x":2763,"y":43},"inputs":[{"name":"left_operand","primitive_name":"left_operand"},{"name":"right_operand","primitive_name":"right_operand"}],"outputs":[{"name":"added_result","primitive_name":"added_result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Numerator"},"sink":{"operation":"parse_decimal","data":"input"},"control_points":[{"x":174,"y":234}]},{"source":{"operation":"this","data":"Denominator"},"sink":{"operation":"parse_decimal_1","data":"input"},"control_points":[{"x":217,"y":408}]},{"source":{"operation":"this","data":"Addend"},"sink":{"operation":"parse_decimal_3","data":"input"},"control_points":[]},{"source":{"operation":"parse_decimal","data":"output"},"sink":{"operation":"divide","data":"left_operand"},"control_points":[]},{"source":{"operation":"parse_decimal_1","data":"output"},"sink":{"operation":"divide","data":"right_operand"},"control_points":[{"x":839,"y":408}]},{"source":{"operation":"parse_decimal_3","data":"output"},"sink":{"operation":"add","data":"left_operand"},"control_points":[]},{"source":{"operation":"add","data":"added_result"},"sink":{"operation":"this","data":"Output"},"control_points":[]},{"source":{"operation":"this","data":"Multiplier"},"sink":{"operation":"parse_decimal_2","data":"input"},"control_points":[{"x":252,"y":590}]},{"source":{"operation":"divide","data":"divided_result"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":1302,"y":398}]},{"source":{"operation":"parse_decimal_2","data":"output"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[{"x":1735,"y":637}]},{"source":{"operation":"divide","data":"divided_result"},"sink":{"operation":"element_wise_multiply","data":"left_array"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"element_wise_multiply","data":"right_array"},"control_points":[{"x":2239,"y":591}]},{"source":{"operation":"element_wise_multiply","data":"multiplied_array"},"sink":{"operation":"add","data":"right_operand"},"control_points":[{"x":2671,"y":235}]}],"global_constants":[]} \ No newline at end of file