Skip to content

Commit

Permalink
Create Addcdiv.json (#132)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
JessicaSun1022 authored Jul 25, 2024
1 parent d268143 commit 10a37fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compute_operations/math_operations/Addcdiv.json
Original file line number Diff line number Diff line change
@@ -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":[]}

0 comments on commit 10a37fb

Please sign in to comment.