diff --git a/compute_operations/activation_operations/PReLU.json b/compute_operations/activation_operations/PReLU.json index fa35c469..70c0bd21 100644 --- a/compute_operations/activation_operations/PReLU.json +++ b/compute_operations/activation_operations/PReLU.json @@ -1 +1 @@ -{"name":"PReLU","type":"PROJECT","inputs":[],"outputs":[],"operations":[{"name":"PReLU","type":"COMPOSITE_OPERATION","position":{"x":930,"y":402},"inputs":[{"name":"Input","data":[[-1.0,0.0],[1.0,2.0]],"shape":[2,2],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SOURCE"},{"name":"Weight","data":0.25,"shape":[],"type":"DECIMAL","primitive_name":"Input (1)","flow_state":"BOOT_SOURCE"}],"outputs":[{"name":"Output","primitive_name":"Output"}],"operations":[{"name":"Do Max","type":"COMPOSITE_OPERATION","position":{"x":368,"y":45},"inputs":[{"name":"Input","shape":[2,2],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":208,"y":240},"inputs":[{"name":"input","shape":[2,2],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape"}],"assertions":["{input}_is_array","{shape}_data_type_is_integer","{shape}_is_greater_than_or_equal_to_zero","{shape}_has_one_dimension","{input}_shape_is_{shape}"]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["tile_to_shape","expand_to_shape","extend_to_shape"],"position":{"x":720,"y":195},"inputs":[{"name":"target","data":0.0,"shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SOURCE"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result"}],"assertions":["{shape}_data_type_is_integer","{shape}_has_one_dimension","{target}_shape_size_is_less_than_or_equal_to_{shape}_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_value_of_array_{shape}","{result}_data_type_is_the_same_as_{target}","{result}_shape_is_{shape}","{target}_shape_size_is_less_than_or_equal_to_{result}_shape_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_dimension_size_of_{result}"]},{"name":"greater_than","primitive_name":"greater_than","type":"PRIMITIVE_OPERATION","aliases":["gt","greater","larger","larger_than","bigger","bigger_than"],"position":{"x":1181,"y":27},"inputs":[{"name":"left_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"BOOT_SINK"},{"name":"right_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"right_operand"}],"outputs":[{"name":"is_greater_than","primitive_name":"is_greater_than"}],"assertions":["{left_operand}_data_type_is_integer_or_decimal","{is_greater_than}_data_type_is_boolean","{left_operand}_shape_is_the_same_as_{right_operand}","{right_operand}_data_type_is_the_same_as_{left_operand}","{is_greater_than}_shape_is_the_same_as_{right_operand}"]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","aliases":["conditional_merge","replace","where"],"position":{"x":1803,"y":108},"inputs":[{"name":"condition","shape":[2,2],"type":"BOOLEAN","primitive_name":"condition"},{"name":"data_if_true","shape":[2,2],"type":"DECIMAL","primitive_name":"data_if_true","flow_state":"BOOT_SINK"},{"name":"data_if_false","shape":[2,2],"type":"DECIMAL","primitive_name":"data_if_false"}],"outputs":[{"name":"output_data","primitive_name":"output_data"}],"assertions":["{condition}_data_type_is_boolean","{condition}_shape_is_the_same_as_{data_if_true}","{data_if_true}_data_type_is_the_same_as_{data_if_false}","{data_if_true}_shape_is_the_same_as_{data_if_false}","{output_data}_data_type_is_the_same_as_{data_if_false}","{output_data}_shape_is_the_same_as_{data_if_false}"]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"greater_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"greater_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"greater_than","data":"is_greater_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"Do Min","type":"COMPOSITE_OPERATION","position":{"x":687,"y":210},"inputs":[{"name":"Input","shape":[2,2],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":261,"y":282},"inputs":[{"name":"input","shape":[2,2],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape"}],"assertions":["{input}_is_array","{shape}_data_type_is_integer","{shape}_is_greater_than_or_equal_to_zero","{shape}_has_one_dimension","{input}_shape_is_{shape}"]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["tile_to_shape","expand_to_shape","extend_to_shape"],"position":{"x":630,"y":238},"inputs":[{"name":"target","data":0.0,"shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SOURCE"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result"}],"assertions":["{shape}_data_type_is_integer","{shape}_has_one_dimension","{target}_shape_size_is_less_than_or_equal_to_{shape}_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_value_of_array_{shape}","{result}_data_type_is_the_same_as_{target}","{result}_shape_is_{shape}","{target}_shape_size_is_less_than_or_equal_to_{result}_shape_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_dimension_size_of_{result}"]},{"name":"less_than","primitive_name":"less_than","type":"PRIMITIVE_OPERATION","aliases":["lt","less","smaller","smaller_than"],"position":{"x":1190,"y":45},"inputs":[{"name":"left_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"BOOT_SINK"},{"name":"right_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"right_operand"}],"outputs":[{"name":"is_less_than","primitive_name":"is_less_than"}],"assertions":["{left_operand}_data_type_is_integer_or_decimal","{is_less_than}_data_type_is_boolean","{left_operand}_shape_is_the_same_as_{right_operand}","{right_operand}_data_type_is_the_same_as_{left_operand}","{is_less_than}_shape_is_the_same_as_{right_operand}"]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","aliases":["conditional_merge","replace","where"],"position":{"x":1682,"y":150},"inputs":[{"name":"condition","shape":[2,2],"type":"BOOLEAN","primitive_name":"condition"},{"name":"data_if_true","shape":[2,2],"type":"DECIMAL","primitive_name":"data_if_true","flow_state":"BOOT_SINK"},{"name":"data_if_false","shape":[2,2],"type":"DECIMAL","primitive_name":"data_if_false"}],"outputs":[{"name":"output_data","primitive_name":"output_data"}],"assertions":["{condition}_data_type_is_boolean","{condition}_shape_is_the_same_as_{data_if_true}","{data_if_true}_data_type_is_the_same_as_{data_if_false}","{data_if_true}_shape_is_the_same_as_{data_if_false}","{output_data}_data_type_is_the_same_as_{data_if_false}","{output_data}_shape_is_the_same_as_{data_if_false}"]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"less_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"less_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"less_than","data":"is_less_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":341,"y":433},"inputs":[{"name":"input","shape":[2,2],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape"}],"assertions":["{input}_is_array","{shape}_data_type_is_integer","{shape}_is_greater_than_or_equal_to_zero","{shape}_has_one_dimension","{input}_shape_is_{shape}"]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["tile_to_shape","expand_to_shape","extend_to_shape"],"position":{"x":794,"y":389},"inputs":[{"name":"target","shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result"}],"assertions":["{shape}_data_type_is_integer","{shape}_has_one_dimension","{target}_shape_size_is_less_than_or_equal_to_{shape}_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_value_of_array_{shape}","{result}_data_type_is_the_same_as_{target}","{result}_shape_is_{shape}","{target}_shape_size_is_less_than_or_equal_to_{result}_shape_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_dimension_size_of_{result}"]},{"name":"element_wise_multiply","primitive_name":"element_wise_multiply","type":"PRIMITIVE_OPERATION","aliases":["times"],"position":{"x":1222,"y":252},"inputs":[{"name":"left_array","shape":[2,2],"type":"DECIMAL","primitive_name":"left_array"},{"name":"right_array","shape":[2,2],"type":"DECIMAL","primitive_name":"right_array"}],"outputs":[{"name":"multiplied_array","primitive_name":"multiplied_array"}],"assertions":["{left_array}_data_type_is_integer_or_decimal","{right_array}_data_type_is_the_same_as_{left_array}","{right_array}_shape_is_the_same_as_{left_array}","{multiplied_array}_data_type_is_the_same_as_{right_array}","{multiplied_array}_shape_is_the_same_as_{right_array}"]},{"name":"add","primitive_name":"add","type":"PRIMITIVE_OPERATION","aliases":["plus","increment"],"position":{"x":1636,"y":45},"inputs":[{"name":"left_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"left_operand"},{"name":"right_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"right_operand"}],"outputs":[{"name":"added_result","primitive_name":"added_result"}],"assertions":["{left_operand}_data_type_is_integer_or_decimal","{left_operand}_shape_is_the_same_as_{right_operand}","{right_operand}_data_type_is_the_same_as_{left_operand}","{added_result}_data_type_is_the_same_as_{right_operand}","{added_result}_shape_is_the_same_as_{right_operand}"]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Do Max","data":"Input"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Do Min","data":"Input"},"control_points":[]},{"source":{"operation":"Do Max","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":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"this","data":"Weight"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"Do Min","data":"Output"},"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":[]},{"source":{"operation":"element_wise_multiply","data":"multiplied_array"},"sink":{"operation":"add","data":"right_operand"},"control_points":[]}]}],"links":[],"documentations":[],"global_constants":[],"saved_date":"2024-05-06T19:33:06.514667100","schema_lib_version":"v1.0","tabs_open":[{"hValue":0.0,"vValue":0.0,"scaleValue":0.8,"name_lineage":["PReLU.json","PReLU"]}]} +{"name":"PReLU","type":"COMPOSITE_OPERATION","inputs":[{"name":"Input","primitive_name":"Input"},{"name":"Weight","primitive_name":"Input (1)"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"Do Max","type":"COMPOSITE_OPERATION","position":{"x":368,"y":45},"inputs":[{"name":"Input","primitive_name":"Input"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":208,"y":240},"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","aliases":["tile_to_shape","expand_to_shape","extend_to_shape"],"position":{"x":720,"y":195},"inputs":[{"name":"target","data":0.0,"shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SOURCE"},{"name":"shape","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]},{"name":"greater_than","primitive_name":"greater_than","type":"PRIMITIVE_OPERATION","aliases":["gt","greater","larger","larger_than","bigger","bigger_than"],"position":{"x":1181,"y":27},"inputs":[{"name":"left_operand","primitive_name":"left_operand"},{"name":"right_operand","primitive_name":"right_operand"}],"outputs":[{"name":"is_greater_than","primitive_name":"is_greater_than","flow_state":"UNBOUND"}]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","aliases":["conditional_merge","replace","where"],"position":{"x":1803,"y":108},"inputs":[{"name":"condition","primitive_name":"condition"},{"name":"data_if_true","primitive_name":"data_if_true"},{"name":"data_if_false","primitive_name":"data_if_false"}],"outputs":[{"name":"output_data","primitive_name":"output_data","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"greater_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"greater_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"greater_than","data":"is_greater_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"Do Min","type":"COMPOSITE_OPERATION","position":{"x":687,"y":210},"inputs":[{"name":"Input","primitive_name":"Input"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":261,"y":282},"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","aliases":["tile_to_shape","expand_to_shape","extend_to_shape"],"position":{"x":630,"y":238},"inputs":[{"name":"target","data":0.0,"shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SOURCE"},{"name":"shape","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]},{"name":"less_than","primitive_name":"less_than","type":"PRIMITIVE_OPERATION","aliases":["lt","less","smaller","smaller_than"],"position":{"x":1190,"y":45},"inputs":[{"name":"left_operand","primitive_name":"left_operand"},{"name":"right_operand","primitive_name":"right_operand"}],"outputs":[{"name":"is_less_than","primitive_name":"is_less_than","flow_state":"UNBOUND"}]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","aliases":["conditional_merge","replace","where"],"position":{"x":1682,"y":150},"inputs":[{"name":"condition","primitive_name":"condition"},{"name":"data_if_true","primitive_name":"data_if_true"},{"name":"data_if_false","primitive_name":"data_if_false"}],"outputs":[{"name":"output_data","primitive_name":"output_data","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"less_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"less_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"less_than","data":"is_less_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":341,"y":433},"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","aliases":["tile_to_shape","expand_to_shape","extend_to_shape"],"position":{"x":794,"y":389},"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","aliases":["times"],"position":{"x":1222,"y":252},"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","aliases":["plus","increment"],"position":{"x":1636,"y":45},"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":"Input"},"sink":{"operation":"Do Max","data":"Input"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Do Min","data":"Input"},"control_points":[]},{"source":{"operation":"Do Max","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":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"this","data":"Weight"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"Do Min","data":"Output"},"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":[]},{"source":{"operation":"element_wise_multiply","data":"multiplied_array"},"sink":{"operation":"add","data":"right_operand"},"control_points":[]}],"global_constants":[]} \ No newline at end of file diff --git a/compute_operations/activation_operations/ReLU6.json b/compute_operations/activation_operations/ReLU6.json index e9febb68..23b447d5 100644 --- a/compute_operations/activation_operations/ReLU6.json +++ b/compute_operations/activation_operations/ReLU6.json @@ -1 +1 @@ -{"name":"ReLU6","type":"PROJECT","inputs":[],"outputs":[],"operations":[{"name":"ReLU6","type":"COMPOSITE_OPERATION","position":{"x":328,"y":265},"inputs":[{"name":"Input","data":[[9.0,2.0],[-3.0,-4.0]],"shape":[2,2],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SOURCE"}],"outputs":[{"name":"Output","primitive_name":"Output"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","position":{"x":274,"y":430},"inputs":[{"name":"input","shape":[2,2],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape"}],"assertions":["{input}_is_array","{shape}_data_type_is_integer","{shape}_is_greater_than_or_equal_to_zero","{shape}_has_one_dimension","{input}_shape_is_{shape}"]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","position":{"x":735,"y":386},"inputs":[{"name":"target","data":0.0,"shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SOURCE"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result"}],"assertions":["{shape}_data_type_is_integer","{shape}_has_one_dimension","{target}_shape_size_is_less_than_or_equal_to_{shape}_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_value_of_array_{shape}","{result}_data_type_is_the_same_as_{target}","{result}_shape_is_{shape}","{target}_shape_size_is_less_than_or_equal_to_{result}_shape_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_dimension_size_of_{result}"]},{"name":"greater_than","primitive_name":"greater_than","type":"PRIMITIVE_OPERATION","position":{"x":1220,"y":195},"inputs":[{"name":"left_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"BOOT_SINK"},{"name":"right_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"right_operand"}],"outputs":[{"name":"is_greater_than","primitive_name":"is_greater_than"}],"assertions":["{left_operand}_data_type_is_integer_or_decimal","{is_greater_than}_data_type_is_boolean","{left_operand}_shape_is_the_same_as_{right_operand}","{right_operand}_data_type_is_the_same_as_{left_operand}","{is_greater_than}_shape_is_the_same_as_{right_operand}"]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","position":{"x":1967,"y":47},"inputs":[{"name":"condition","shape":[2,2],"type":"BOOLEAN","primitive_name":"condition"},{"name":"data_if_true","shape":[2,2],"type":"DECIMAL","primitive_name":"data_if_true","flow_state":"BOOT_SINK"},{"name":"data_if_false","shape":[2,2],"type":"DECIMAL","primitive_name":"data_if_false"}],"input_order":[1,0,2],"outputs":[{"name":"output_data","primitive_name":"output_data"}],"assertions":["{condition}_data_type_is_boolean","{condition}_shape_is_the_same_as_{data_if_true}","{data_if_true}_data_type_is_the_same_as_{data_if_false}","{data_if_true}_shape_is_the_same_as_{data_if_false}","{output_data}_data_type_is_the_same_as_{data_if_false}","{output_data}_shape_is_the_same_as_{data_if_false}"]},{"name":"Do Min","type":"COMPOSITE_OPERATION","position":{"x":2498,"y":47},"inputs":[{"name":"Input","shape":[2,2],"type":"DECIMAL","primitive_name":"Input"}],"outputs":[{"name":"Output","primitive_name":"Output"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","position":{"x":180,"y":392},"inputs":[{"name":"input","shape":[2,2],"type":"DECIMAL","primitive_name":"input"}],"outputs":[{"name":"shape","primitive_name":"shape"}],"assertions":["{input}_is_array","{shape}_data_type_is_integer","{shape}_is_greater_than_or_equal_to_zero","{shape}_has_one_dimension","{input}_shape_is_{shape}"]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","position":{"x":713,"y":347},"inputs":[{"name":"target","data":6.0,"shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SOURCE"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result"}],"assertions":["{shape}_data_type_is_integer","{shape}_has_one_dimension","{target}_shape_size_is_less_than_or_equal_to_{shape}_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_value_of_array_{shape}","{result}_data_type_is_the_same_as_{target}","{result}_shape_is_{shape}","{target}_shape_size_is_less_than_or_equal_to_{result}_shape_size","every_dimension_size_of_{target}_is_less_than_or_equal_to_the_corresponding_dimension_size_of_{result}"]},{"name":"less_than","primitive_name":"less_than","type":"PRIMITIVE_OPERATION","aliases":["lt","less","smaller","smaller_than"],"position":{"x":1072,"y":48},"inputs":[{"name":"left_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"left_operand"},{"name":"right_operand","shape":[2,2],"type":"DECIMAL","primitive_name":"right_operand"}],"outputs":[{"name":"is_less_than","primitive_name":"is_less_than"}],"assertions":["{left_operand}_data_type_is_integer_or_decimal","{is_less_than}_data_type_is_boolean","{left_operand}_shape_is_the_same_as_{right_operand}","{right_operand}_data_type_is_the_same_as_{left_operand}","{is_less_than}_shape_is_the_same_as_{right_operand}"]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","position":{"x":1473,"y":194},"inputs":[{"name":"condition","shape":[2,2],"type":"BOOLEAN","primitive_name":"condition"},{"name":"data_if_true","shape":[2,2],"type":"DECIMAL","primitive_name":"data_if_true"},{"name":"data_if_false","shape":[2,2],"type":"DECIMAL","primitive_name":"data_if_false"}],"outputs":[{"name":"output_data","primitive_name":"output_data"}],"assertions":["{condition}_data_type_is_boolean","{condition}_shape_is_the_same_as_{data_if_true}","{data_if_true}_data_type_is_the_same_as_{data_if_false}","{data_if_true}_shape_is_the_same_as_{data_if_false}","{output_data}_data_type_is_the_same_as_{data_if_false}","{output_data}_shape_is_the_same_as_{data_if_false}"]}],"links":[{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"less_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"less_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"less_than","data":"is_less_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[{"x":328,"y":235},{"x":547,"y":300}]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"greater_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"greater_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"greater_than","data":"is_greater_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[{"x":1762,"y":448}]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"Do Min","data":"Input"},"control_points":[]},{"source":{"operation":"Do Min","data":"Output"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]}],"links":[],"documentations":[],"global_constants":[],"saved_date":"2024-04-25T14:38:55.991605600","schema_lib_version":"v1.0","tabs_open":[{"hValue":0.0,"vValue":0.0,"scaleValue":0.8,"name_lineage":[]}]} +{"name":"ReLU6","type":"COMPOSITE_OPERATION","inputs":[{"name":"Input","primitive_name":"Input"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","position":{"x":274,"y":430},"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":735,"y":388},"inputs":[{"name":"target","data":0.0,"shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SOURCE"},{"name":"shape","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]},{"name":"greater_than","primitive_name":"greater_than","type":"PRIMITIVE_OPERATION","position":{"x":1220,"y":195},"inputs":[{"name":"left_operand","primitive_name":"left_operand"},{"name":"right_operand","primitive_name":"right_operand"}],"outputs":[{"name":"is_greater_than","primitive_name":"is_greater_than","flow_state":"UNBOUND"}]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","position":{"x":1967,"y":43},"inputs":[{"name":"condition","primitive_name":"condition"},{"name":"data_if_true","primitive_name":"data_if_true"},{"name":"data_if_false","primitive_name":"data_if_false"}],"input_order":[1,0,2],"outputs":[{"name":"output_data","primitive_name":"output_data","flow_state":"UNBOUND"}]},{"name":"Do Min","type":"COMPOSITE_OPERATION","position":{"x":2498,"y":43},"inputs":[{"name":"Input","primitive_name":"Input"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","position":{"x":180,"y":392},"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":713,"y":347},"inputs":[{"name":"target","data":6.0,"shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SOURCE"},{"name":"shape","primitive_name":"shape"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]},{"name":"less_than","primitive_name":"less_than","type":"PRIMITIVE_OPERATION","aliases":["lt","less","smaller","smaller_than"],"position":{"x":1072,"y":48},"inputs":[{"name":"left_operand","primitive_name":"left_operand"},{"name":"right_operand","primitive_name":"right_operand"}],"outputs":[{"name":"is_less_than","primitive_name":"is_less_than","flow_state":"UNBOUND"}]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","position":{"x":1473,"y":194},"inputs":[{"name":"condition","primitive_name":"condition"},{"name":"data_if_true","primitive_name":"data_if_true"},{"name":"data_if_false","primitive_name":"data_if_false"}],"outputs":[{"name":"output_data","primitive_name":"output_data","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"less_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"less_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"less_than","data":"is_less_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[{"x":328,"y":235},{"x":547,"y":300}]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"get_shape","data":"input"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"greater_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"greater_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"greater_than","data":"is_greater_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[{"x":1762,"y":450}]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"Do Min","data":"Input"},"control_points":[]},{"source":{"operation":"Do Min","data":"Output"},"sink":{"operation":"this","data":"Output"},"control_points":[]}],"global_constants":[]} \ No newline at end of file diff --git a/compute_operations/activation_operations/SELU.json b/compute_operations/activation_operations/SELU.json index 07ede93b..53f5af95 100644 --- a/compute_operations/activation_operations/SELU.json +++ b/compute_operations/activation_operations/SELU.json @@ -1 +1 @@ -{"name":"SELU","type":"COMPOSITE_OPERATION","inputs":[{"name":"Input","data":[[0.267,-0.6798,0.4689,-0.9129]],"shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SOURCE"},{"name":"scale","data":[1.0507009873554805],"shape":[1],"type":"DECIMAL","primitive_name":"Input (1)","flow_state":"BOOT_SOURCE"},{"name":"alpha","data":[1.6732632423543772],"shape":[1],"type":"DECIMAL","primitive_name":"Input (2)","flow_state":"BOOT_SOURCE"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"alpha_calculation","type":"COMPOSITE_OPERATION","position":{"x":322,"y":436},"inputs":[{"name":"Input","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SINK"},{"name":"alpha","shape":[1],"type":"DECIMAL","primitive_name":"Input (1)","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"Natural Exponential","type":"COMPOSITE_OPERATION","position":{"x":270,"y":1},"inputs":[{"name":"Input","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"Broadcast Target to Shape of Array","type":"COMPOSITE_OPERATION","position":{"x":818,"y":4},"inputs":[{"name":"Target","data":2.7183,"shape":[],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SOURCE"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"element_wise_exponentiate","primitive_name":"element_wise_exponentiate","type":"PRIMITIVE_OPERATION","aliases":["exp","pow","power"],"position":{"x":1601,"y":135},"inputs":[{"name":"base","shape":[1,4],"type":"DECIMAL","primitive_name":"base","flow_state":"REF_SINK"},{"name":"exponent","shape":[1,4],"type":"DECIMAL","primitive_name":"exponent","flow_state":"BOOT_SINK"}],"outputs":[{"name":"exponentiation","primitive_name":"exponentiation","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"element_wise_exponentiate","data":"exponent"},"control_points":[{"x":596,"y":360},{"x":1098,"y":360}]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Target to Shape of Array","data":"Array"},"control_points":[{"x":368,"y":109}]},{"source":{"operation":"Broadcast Target to Shape of Array","data":"Output"},"sink":{"operation":"element_wise_exponentiate","data":"base"},"control_points":[{"x":1264,"y":70},{"x":1396,"y":118}]},{"source":{"operation":"element_wise_exponentiate","data":"exponentiation"},"sink":{"operation":"this","data":"Output"},"control_points":[{"x":2074,"y":197}]}]},{"name":"Broadcast Target to Shape of Array (1)","type":"COMPOSITE_OPERATION","position":{"x":380,"y":211},"inputs":[{"name":"Target","data":1.0,"shape":[],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SOURCE"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"subtract","primitive_name":"subtract","type":"PRIMITIVE_OPERATION","aliases":["minus","decrement"],"position":{"x":689,"y":1},"inputs":[{"name":"left_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"REF_SINK"},{"name":"right_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"right_operand","flow_state":"REF_SINK"}],"outputs":[{"name":"subtracted_result","primitive_name":"subtracted_result","flow_state":"UNBOUND"}]},{"name":"Broadcast Target to Shape of Array (2)","type":"COMPOSITE_OPERATION","position":{"x":733,"y":338},"inputs":[{"name":"Target","shape":[1],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SINK"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[1],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"element_wise_multiply","primitive_name":"element_wise_multiply","type":"PRIMITIVE_OPERATION","aliases":["times"],"position":{"x":1179,"y":1},"inputs":[{"name":"left_array","shape":[1,4],"type":"DECIMAL","primitive_name":"left_array","flow_state":"REF_SINK"},{"name":"right_array","shape":[1,4],"type":"DECIMAL","primitive_name":"right_array","flow_state":"REF_SINK"}],"outputs":[{"name":"multiplied_array","primitive_name":"multiplied_array","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Natural Exponential","data":"Input"},"control_points":[{"x":200,"y":63}]},{"source":{"operation":"Natural Exponential","data":"Output"},"sink":{"operation":"subtract","data":"left_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Target to Shape of Array (1)","data":"Array"},"control_points":[{"x":266,"y":317}]},{"source":{"operation":"Broadcast Target to Shape of Array (1)","data":"Output"},"sink":{"operation":"subtract","data":"right_operand"},"control_points":[{"x":698,"y":273}]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Target to Shape of Array (2)","data":"Array"},"control_points":[{"x":290,"y":444}]},{"source":{"operation":"this","data":"alpha"},"sink":{"operation":"Broadcast Target to Shape of Array (2)","data":"Target"},"control_points":[{"x":186,"y":400}]},{"source":{"operation":"subtract","data":"subtracted_result"},"sink":{"operation":"element_wise_multiply","data":"left_array"},"control_points":[]},{"source":{"operation":"Broadcast Target to Shape of Array (2)","data":"Output"},"sink":{"operation":"element_wise_multiply","data":"right_array"},"control_points":[{"x":1188,"y":400}]},{"source":{"operation":"element_wise_multiply","data":"multiplied_array"},"sink":{"operation":"this","data":"Output"},"control_points":[{"x":1628,"y":109}]}]},{"name":"Broadcast Scale to Shape of Array","type":"COMPOSITE_OPERATION","position":{"x":690,"y":642},"inputs":[{"name":"Target","shape":[1],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SINK"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[1],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"Broadcast Zero to Shape of Array","type":"COMPOSITE_OPERATION","position":{"x":502,"y":4},"inputs":[{"name":"Target","data":0.0,"shape":[],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SOURCE"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"Min 2 Arrays","type":"COMPOSITE_OPERATION","position":{"x":812,"y":391},"inputs":[{"name":"Input 1","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"REF_SINK"},{"name":"Input 2","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"REF_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"less_than","primitive_name":"less_than","type":"PRIMITIVE_OPERATION","aliases":["lt","less","smaller","smaller_than"],"position":{"x":478,"y":166},"inputs":[{"name":"left_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"REF_SINK"},{"name":"right_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"right_operand","flow_state":"REF_SINK"}],"outputs":[{"name":"is_less_than","primitive_name":"is_less_than","flow_state":"UNBOUND"}]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","aliases":["conditional_merge","replace","where"],"position":{"x":1080,"y":322},"inputs":[{"name":"condition","shape":[1,4],"type":"BOOLEAN","primitive_name":"condition","flow_state":"REF_SINK"},{"name":"data_if_true","shape":[1,4],"type":"DECIMAL","primitive_name":"data_if_true","flow_state":"REF_SINK"},{"name":"data_if_false","shape":[1,4],"type":"DECIMAL","primitive_name":"data_if_false","flow_state":"REF_SINK"}],"outputs":[{"name":"output_data","primitive_name":"output_data","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Input 1"},"sink":{"operation":"less_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input 2"},"sink":{"operation":"less_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"less_than","data":"is_less_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input 1"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[]},{"source":{"operation":"this","data":"Input 2"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"Max 2 Arrays","type":"COMPOSITE_OPERATION","position":{"x":950,"y":-2},"inputs":[{"name":"array_1","shape":[1,4],"type":"DECIMAL","primitive_name":"Input (1)","flow_state":"REF_SINK"},{"name":"array_2","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"greater_than","primitive_name":"greater_than","type":"PRIMITIVE_OPERATION","aliases":["gt","greater","larger","larger_than","bigger","bigger_than"],"position":{"x":316,"y":43},"inputs":[{"name":"left_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"REF_SINK"},{"name":"right_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"right_operand","flow_state":"BOOT_SINK"}],"outputs":[{"name":"is_greater_than","primitive_name":"is_greater_than","flow_state":"UNBOUND"}]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","aliases":["conditional_merge","replace","where"],"position":{"x":748,"y":240},"inputs":[{"name":"condition","shape":[1,4],"type":"BOOLEAN","primitive_name":"condition","flow_state":"REF_SINK"},{"name":"data_if_true","shape":[1,4],"type":"DECIMAL","primitive_name":"data_if_true","flow_state":"REF_SINK"},{"name":"data_if_false","shape":[1,4],"type":"DECIMAL","primitive_name":"data_if_false","flow_state":"BOOT_SINK"}],"outputs":[{"name":"output_data","primitive_name":"output_data","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"array_2"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[{"x":290,"y":390}]},{"source":{"operation":"this","data":"array_1"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[{"x":300,"y":346}]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[{"x":1133,"y":109}]},{"source":{"operation":"this","data":"array_1"},"sink":{"operation":"greater_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"this","data":"array_2"},"sink":{"operation":"greater_than","data":"right_operand"},"control_points":[{"x":257,"y":154}]},{"source":{"operation":"greater_than","data":"is_greater_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[{"x":757,"y":105}]}]},{"name":"add","primitive_name":"add","type":"PRIMITIVE_OPERATION","aliases":["plus","increment"],"position":{"x":1477,"y":168},"inputs":[{"name":"left_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"REF_SINK"},{"name":"right_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"right_operand","flow_state":"REF_SINK"}],"outputs":[{"name":"added_result","primitive_name":"added_result","flow_state":"UNBOUND"}]},{"name":"element_wise_multiply","primitive_name":"element_wise_multiply","type":"PRIMITIVE_OPERATION","aliases":["times"],"position":{"x":1825,"y":163},"inputs":[{"name":"left_array","shape":[1,4],"type":"DECIMAL","primitive_name":"left_array","flow_state":"REF_SINK"},{"name":"right_array","shape":[1,4],"type":"DECIMAL","primitive_name":"right_array","flow_state":"REF_SINK"}],"outputs":[{"name":"multiplied_array","primitive_name":"multiplied_array","flow_state":"UNBOUND"}]},{"name":"Broadcast Target to Shape of Array","type":"COMPOSITE_OPERATION","position":{"x":2182,"y":168},"inputs":[{"name":"Target","shape":[1,4],"type":"DECIMAL","primitive_name":"Target","flow_state":"REF_SINK"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[1,4],"type":"DECIMAL","primitive_name":"target","flow_state":"REF_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]}],"links":[{"source":{"operation":"Broadcast Zero to Shape of Array","data":"Output"},"sink":{"operation":"Max 2 Arrays","data":"array_1"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Max 2 Arrays","data":"array_2"},"control_points":[{"x":215,"y":198},{"x":641,"y":198}]},{"source":{"operation":"Max 2 Arrays","data":"Output"},"sink":{"operation":"add","data":"left_operand"},"control_points":[{"x":1486,"y":60}]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"alpha_calculation","data":"Input"},"control_points":[]},{"source":{"operation":"this","data":"alpha"},"sink":{"operation":"alpha_calculation","data":"alpha"},"control_points":[]},{"source":{"operation":"Broadcast Zero to Shape of Array","data":"Output"},"sink":{"operation":"Min 2 Arrays","data":"Input 1"},"control_points":[]},{"source":{"operation":"Min 2 Arrays","data":"Output"},"sink":{"operation":"add","data":"right_operand"},"control_points":[{"x":1486,"y":453}]},{"source":{"operation":"this","data":"scale"},"sink":{"operation":"Broadcast Scale to Shape of Array","data":"Target"},"control_points":[{"x":103,"y":704}]},{"source":{"operation":"Broadcast Target to Shape of Array","data":"Output"},"sink":{"operation":"this","data":"Output"},"control_points":[]},{"source":{"operation":"alpha_calculation","data":"Output"},"sink":{"operation":"Min 2 Arrays","data":"Input 2"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Zero to Shape of Array","data":"Array"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Scale to Shape of Array","data":"Array"},"control_points":[{"x":79,"y":748}]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Target to Shape of Array","data":"Array"},"control_points":[{"x":363,"y":374},{"x":2190,"y":374}]},{"source":{"operation":"add","data":"added_result"},"sink":{"operation":"element_wise_multiply","data":"left_array"},"control_points":[]},{"source":{"operation":"element_wise_multiply","data":"multiplied_array"},"sink":{"operation":"Broadcast Target to Shape of Array","data":"Target"},"control_points":[]},{"source":{"operation":"Broadcast Scale to Shape of Array","data":"Output"},"sink":{"operation":"element_wise_multiply","data":"right_array"},"control_points":[{"x":1834,"y":704}]}],"global_constants":[]} \ No newline at end of file +{"name":"SELU","type":"COMPOSITE_OPERATION","inputs":[{"name":"Input","data":[[0.267,-0.6798,0.4689,-0.9129]],"shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SOURCE"},{"name":"scale","data":[1.0507009873554805],"shape":[1],"type":"DECIMAL","primitive_name":"Input (1)","flow_state":"BOOT_SOURCE"},{"name":"alpha","data":[1.6732632423543772],"shape":[1],"type":"DECIMAL","primitive_name":"Input (2)","flow_state":"BOOT_SOURCE"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"alpha_calculation","type":"COMPOSITE_OPERATION","position":{"x":322,"y":436},"inputs":[{"name":"Input","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SINK"},{"name":"alpha","shape":[1],"type":"DECIMAL","primitive_name":"Input (1)","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"Natural Exponential","type":"COMPOSITE_OPERATION","position":{"x":270,"y":1},"inputs":[{"name":"Input","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"Broadcast Target to Shape of Array","type":"COMPOSITE_OPERATION","position":{"x":818,"y":4},"inputs":[{"name":"Target","data":2.7183,"shape":[],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SOURCE"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"element_wise_exponentiate","primitive_name":"element_wise_exponentiate","type":"PRIMITIVE_OPERATION","aliases":["exp","pow","power"],"position":{"x":1601,"y":135},"inputs":[{"name":"base","shape":[1,4],"type":"DECIMAL","primitive_name":"base","flow_state":"REF_SINK"},{"name":"exponent","shape":[1,4],"type":"DECIMAL","primitive_name":"exponent","flow_state":"BOOT_SINK"}],"outputs":[{"name":"exponentiation","primitive_name":"exponentiation","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"element_wise_exponentiate","data":"exponent"},"control_points":[{"x":596,"y":360},{"x":1098,"y":360}]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Target to Shape of Array","data":"Array"},"control_points":[{"x":368,"y":109}]},{"source":{"operation":"Broadcast Target to Shape of Array","data":"Output"},"sink":{"operation":"element_wise_exponentiate","data":"base"},"control_points":[{"x":1264,"y":70},{"x":1396,"y":118}]},{"source":{"operation":"element_wise_exponentiate","data":"exponentiation"},"sink":{"operation":"this","data":"Output"},"control_points":[{"x":2074,"y":197}]}]},{"name":"Broadcast Target to Shape of Array (1)","type":"COMPOSITE_OPERATION","position":{"x":380,"y":211},"inputs":[{"name":"Target","data":1.0,"shape":[],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SOURCE"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"subtract","primitive_name":"subtract","type":"PRIMITIVE_OPERATION","aliases":["minus","decrement"],"position":{"x":689,"y":1},"inputs":[{"name":"left_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"REF_SINK"},{"name":"right_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"right_operand","flow_state":"REF_SINK"}],"outputs":[{"name":"subtracted_result","primitive_name":"subtracted_result","flow_state":"UNBOUND"}]},{"name":"Broadcast Target to Shape of Array (2)","type":"COMPOSITE_OPERATION","position":{"x":733,"y":338},"inputs":[{"name":"Target","shape":[1],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SINK"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[1],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"element_wise_multiply","primitive_name":"element_wise_multiply","type":"PRIMITIVE_OPERATION","aliases":["times"],"position":{"x":1179,"y":1},"inputs":[{"name":"left_array","shape":[1,4],"type":"DECIMAL","primitive_name":"left_array","flow_state":"REF_SINK"},{"name":"right_array","shape":[1,4],"type":"DECIMAL","primitive_name":"right_array","flow_state":"REF_SINK"}],"outputs":[{"name":"multiplied_array","primitive_name":"multiplied_array","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Natural Exponential","data":"Input"},"control_points":[{"x":200,"y":63}]},{"source":{"operation":"Natural Exponential","data":"Output"},"sink":{"operation":"subtract","data":"left_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Target to Shape of Array (1)","data":"Array"},"control_points":[{"x":266,"y":317}]},{"source":{"operation":"Broadcast Target to Shape of Array (1)","data":"Output"},"sink":{"operation":"subtract","data":"right_operand"},"control_points":[{"x":698,"y":273}]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Target to Shape of Array (2)","data":"Array"},"control_points":[{"x":290,"y":444}]},{"source":{"operation":"this","data":"alpha"},"sink":{"operation":"Broadcast Target to Shape of Array (2)","data":"Target"},"control_points":[{"x":186,"y":400}]},{"source":{"operation":"subtract","data":"subtracted_result"},"sink":{"operation":"element_wise_multiply","data":"left_array"},"control_points":[]},{"source":{"operation":"Broadcast Target to Shape of Array (2)","data":"Output"},"sink":{"operation":"element_wise_multiply","data":"right_array"},"control_points":[{"x":1188,"y":400}]},{"source":{"operation":"element_wise_multiply","data":"multiplied_array"},"sink":{"operation":"this","data":"Output"},"control_points":[{"x":1628,"y":109}]}]},{"name":"Broadcast Scale to Shape of Array","type":"COMPOSITE_OPERATION","position":{"x":690,"y":642},"inputs":[{"name":"Target","shape":[1],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SINK"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[1],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"Broadcast Zero to Shape of Array","type":"COMPOSITE_OPERATION","position":{"x":334,"y":1},"inputs":[{"name":"Target","data":0.0,"shape":[],"type":"DECIMAL","primitive_name":"Target","flow_state":"BOOT_SOURCE"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[],"type":"DECIMAL","primitive_name":"target","flow_state":"BOOT_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"Min 2 Arrays","type":"COMPOSITE_OPERATION","position":{"x":808,"y":394},"inputs":[{"name":"Input 1","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"REF_SINK"},{"name":"Input 2","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"REF_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"less_than","primitive_name":"less_than","type":"PRIMITIVE_OPERATION","aliases":["lt","less","smaller","smaller_than"],"position":{"x":478,"y":166},"inputs":[{"name":"left_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"REF_SINK"},{"name":"right_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"right_operand","flow_state":"REF_SINK"}],"outputs":[{"name":"is_less_than","primitive_name":"is_less_than","flow_state":"UNBOUND"}]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","aliases":["conditional_merge","replace","where"],"position":{"x":1080,"y":322},"inputs":[{"name":"condition","shape":[1,4],"type":"BOOLEAN","primitive_name":"condition","flow_state":"REF_SINK"},{"name":"data_if_true","shape":[1,4],"type":"DECIMAL","primitive_name":"data_if_true","flow_state":"REF_SINK"},{"name":"data_if_false","shape":[1,4],"type":"DECIMAL","primitive_name":"data_if_false","flow_state":"REF_SINK"}],"outputs":[{"name":"output_data","primitive_name":"output_data","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Input 1"},"sink":{"operation":"less_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input 2"},"sink":{"operation":"less_than","data":"right_operand"},"control_points":[]},{"source":{"operation":"less_than","data":"is_less_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[]},{"source":{"operation":"this","data":"Input 1"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[]},{"source":{"operation":"this","data":"Input 2"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]},{"name":"Max 2 Arrays","type":"COMPOSITE_OPERATION","position":{"x":1033,"y":122},"inputs":[{"name":"array_1","shape":[1,4],"type":"DECIMAL","primitive_name":"Input (1)","flow_state":"REF_SINK"},{"name":"array_2","shape":[1,4],"type":"DECIMAL","primitive_name":"Input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"greater_than","primitive_name":"greater_than","type":"PRIMITIVE_OPERATION","aliases":["gt","greater","larger","larger_than","bigger","bigger_than"],"position":{"x":316,"y":43},"inputs":[{"name":"left_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"REF_SINK"},{"name":"right_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"right_operand","flow_state":"BOOT_SINK"}],"outputs":[{"name":"is_greater_than","primitive_name":"is_greater_than","flow_state":"UNBOUND"}]},{"name":"conditional_filter","primitive_name":"conditional_filter","type":"PRIMITIVE_OPERATION","aliases":["conditional_merge","replace","where"],"position":{"x":748,"y":240},"inputs":[{"name":"condition","shape":[1,4],"type":"BOOLEAN","primitive_name":"condition","flow_state":"REF_SINK"},{"name":"data_if_true","shape":[1,4],"type":"DECIMAL","primitive_name":"data_if_true","flow_state":"REF_SINK"},{"name":"data_if_false","shape":[1,4],"type":"DECIMAL","primitive_name":"data_if_false","flow_state":"BOOT_SINK"}],"outputs":[{"name":"output_data","primitive_name":"output_data","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"array_2"},"sink":{"operation":"conditional_filter","data":"data_if_false"},"control_points":[{"x":290,"y":390}]},{"source":{"operation":"this","data":"array_1"},"sink":{"operation":"conditional_filter","data":"data_if_true"},"control_points":[{"x":300,"y":346}]},{"source":{"operation":"conditional_filter","data":"output_data"},"sink":{"operation":"this","data":"Output"},"control_points":[{"x":1133,"y":109}]},{"source":{"operation":"this","data":"array_1"},"sink":{"operation":"greater_than","data":"left_operand"},"control_points":[]},{"source":{"operation":"this","data":"array_2"},"sink":{"operation":"greater_than","data":"right_operand"},"control_points":[{"x":257,"y":154}]},{"source":{"operation":"greater_than","data":"is_greater_than"},"sink":{"operation":"conditional_filter","data":"condition"},"control_points":[{"x":757,"y":105}]}]},{"name":"add","primitive_name":"add","type":"PRIMITIVE_OPERATION","aliases":["plus","increment"],"position":{"x":1629,"y":42},"inputs":[{"name":"left_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"left_operand","flow_state":"REF_SINK"},{"name":"right_operand","shape":[1,4],"type":"DECIMAL","primitive_name":"right_operand","flow_state":"REF_SINK"}],"outputs":[{"name":"added_result","primitive_name":"added_result","flow_state":"UNBOUND"}]},{"name":"element_wise_multiply","primitive_name":"element_wise_multiply","type":"PRIMITIVE_OPERATION","aliases":["times"],"position":{"x":2000,"y":43},"inputs":[{"name":"left_array","shape":[1,4],"type":"DECIMAL","primitive_name":"left_array","flow_state":"REF_SINK"},{"name":"right_array","shape":[1,4],"type":"DECIMAL","primitive_name":"right_array","flow_state":"REF_SINK"}],"outputs":[{"name":"multiplied_array","primitive_name":"multiplied_array","flow_state":"UNBOUND"}]},{"name":"Broadcast Target to Shape of Array","type":"COMPOSITE_OPERATION","position":{"x":2388,"y":42},"inputs":[{"name":"Target","shape":[1,4],"type":"DECIMAL","primitive_name":"Target","flow_state":"REF_SINK"},{"name":"Array","shape":[1,4],"type":"DECIMAL","primitive_name":"Array","flow_state":"BOOT_SINK"}],"outputs":[{"name":"Output","primitive_name":"Output","flow_state":"UNBOUND"}],"operations":[{"name":"get_shape","primitive_name":"get_shape","type":"PRIMITIVE_OPERATION","aliases":["shape","size","get_size"],"position":{"x":601,"y":346},"inputs":[{"name":"input","shape":[1,4],"type":"DECIMAL","primitive_name":"input","flow_state":"BOOT_SINK"}],"outputs":[{"name":"shape","primitive_name":"shape","flow_state":"UNBOUND"}]},{"name":"broadcast_to_shape","primitive_name":"broadcast_to_shape","type":"PRIMITIVE_OPERATION","aliases":["broadcast","tile","tile_to_shape"],"position":{"x":1097,"y":42},"inputs":[{"name":"target","shape":[1,4],"type":"DECIMAL","primitive_name":"target","flow_state":"REF_SINK"},{"name":"shape","shape":[2],"type":"INTEGER","primitive_name":"shape","flow_state":"REF_SINK"}],"outputs":[{"name":"result","primitive_name":"result","flow_state":"UNBOUND"}]}],"links":[{"source":{"operation":"this","data":"Array"},"sink":{"operation":"get_shape","data":"input"},"control_points":[{"x":427,"y":404}]},{"source":{"operation":"this","data":"Target"},"sink":{"operation":"broadcast_to_shape","data":"target"},"control_points":[]},{"source":{"operation":"get_shape","data":"shape"},"sink":{"operation":"broadcast_to_shape","data":"shape"},"control_points":[]},{"source":{"operation":"broadcast_to_shape","data":"result"},"sink":{"operation":"this","data":"Output"},"control_points":[]}]}],"links":[{"source":{"operation":"Broadcast Zero to Shape of Array","data":"Output"},"sink":{"operation":"Max 2 Arrays","data":"array_1"},"control_points":[{"x":701,"y":184}]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Max 2 Arrays","data":"array_2"},"control_points":[{"x":97,"y":226}]},{"source":{"operation":"Max 2 Arrays","data":"Output"},"sink":{"operation":"add","data":"left_operand"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"alpha_calculation","data":"Input"},"control_points":[{"x":245,"y":498}]},{"source":{"operation":"this","data":"alpha"},"sink":{"operation":"alpha_calculation","data":"alpha"},"control_points":[{"x":180,"y":540}]},{"source":{"operation":"Broadcast Zero to Shape of Array","data":"Output"},"sink":{"operation":"Min 2 Arrays","data":"Input 1"},"control_points":[]},{"source":{"operation":"Min 2 Arrays","data":"Output"},"sink":{"operation":"add","data":"right_operand"},"control_points":[{"x":1285,"y":456}]},{"source":{"operation":"this","data":"scale"},"sink":{"operation":"Broadcast Scale to Shape of Array","data":"Target"},"control_points":[{"x":287,"y":704}]},{"source":{"operation":"Broadcast Target to Shape of Array","data":"Output"},"sink":{"operation":"this","data":"Output"},"control_points":[]},{"source":{"operation":"alpha_calculation","data":"Output"},"sink":{"operation":"Min 2 Arrays","data":"Input 2"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Zero to Shape of Array","data":"Array"},"control_points":[]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Scale to Shape of Array","data":"Array"},"control_points":[{"x":379,"y":746}]},{"source":{"operation":"this","data":"Input"},"sink":{"operation":"Broadcast Target to Shape of Array","data":"Array"},"control_points":[{"x":180,"y":374},{"x":2190,"y":374}]},{"source":{"operation":"add","data":"added_result"},"sink":{"operation":"element_wise_multiply","data":"left_array"},"control_points":[]},{"source":{"operation":"element_wise_multiply","data":"multiplied_array"},"sink":{"operation":"Broadcast Target to Shape of Array","data":"Target"},"control_points":[]},{"source":{"operation":"Broadcast Scale to Shape of Array","data":"Output"},"sink":{"operation":"element_wise_multiply","data":"right_array"},"control_points":[{"x":1412,"y":704}]}]} \ No newline at end of file