diff options
Diffstat (limited to 'operators/ew_binary')
433 files changed, 25246 insertions, 23081 deletions
diff --git a/operators/ew_binary/add/add_1_f16/test.json b/operators/ew_binary/add/add_1_f16/test.json index 78d037481..6d2a504e0 100644 --- a/operators/ew_binary/add/add_1_f16/test.json +++ b/operators/ew_binary/add/add_1_f16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_1x2x65533x1_i32/test.json b/operators/ew_binary/add/add_1x2x65533x1_i32/test.json index c5a44749f..398a3ad29 100644 --- a/operators/ew_binary/add/add_1x2x65533x1_i32/test.json +++ b/operators/ew_binary/add/add_1x2x65533x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_1x37x37_bf16/test.json b/operators/ew_binary/add/add_1x37x37_bf16/test.json index 9f6e7f195..0f9e34957 100644 --- a/operators/ew_binary/add/add_1x37x37_bf16/test.json +++ b/operators/ew_binary/add/add_1x37x37_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_1x37x40_f32/test.json b/operators/ew_binary/add/add_1x37x40_f32/test.json index 1d2c6be9e..8df6d200a 100644 --- a/operators/ew_binary/add/add_1x37x40_f32/test.json +++ b/operators/ew_binary/add/add_1x37x40_f32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_1x49_f32/test.json b/operators/ew_binary/add/add_1x49_f32/test.json index c62652e41..d91bf69a0 100644 --- a/operators/ew_binary/add/add_1x49_f32/test.json +++ b/operators/ew_binary/add/add_1x49_f32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_1x65539x1x1x1_i32/test.json b/operators/ew_binary/add/add_1x65539x1x1x1_i32/test.json index 351bd713c..6cd907ea2 100644 --- a/operators/ew_binary/add/add_1x65539x1x1x1_i32/test.json +++ b/operators/ew_binary/add/add_1x65539x1x1x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_20_f32/test.json b/operators/ew_binary/add/add_20_f32/test.json index 424b2b235..85b5db10e 100644 --- a/operators/ew_binary/add/add_20_f32/test.json +++ b/operators/ew_binary/add/add_20_f32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_20_i32/test.json b/operators/ew_binary/add/add_20_i32/test.json index 544add9fc..8617df1fa 100644 --- a/operators/ew_binary/add/add_20_i32/test.json +++ b/operators/ew_binary/add/add_20_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_20x1x25_i32/test.json b/operators/ew_binary/add/add_20x1x25_i32/test.json index 137ea7f31..1948c0eac 100644 --- a/operators/ew_binary/add/add_20x1x25_i32/test.json +++ b/operators/ew_binary/add/add_20x1x25_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 1, + 25 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 1, - 25 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_2x11x4x2x8_f32/test.json b/operators/ew_binary/add/add_2x11x4x2x8_f32/test.json index 55447c98b..c25a46aa0 100644 --- a/operators/ew_binary/add/add_2x11x4x2x8_f32/test.json +++ b/operators/ew_binary/add/add_2x11x4x2x8_f32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_2x11x4x2x8_i32/test.json b/operators/ew_binary/add/add_2x11x4x2x8_i32/test.json index be5e5400b..ec2f31e4e 100644 --- a/operators/ew_binary/add/add_2x11x4x2x8_i32/test.json +++ b/operators/ew_binary/add/add_2x11x4x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_2x12x10x1_f32/test.json b/operators/ew_binary/add/add_2x12x10x1_f32/test.json index ad0739b60..1cbaf0519 100644 --- a/operators/ew_binary/add/add_2x12x10x1_f32/test.json +++ b/operators/ew_binary/add/add_2x12x10x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_2x12x10x1_i32/test.json b/operators/ew_binary/add/add_2x12x10x1_i32/test.json index 726971e61..1ea673ed6 100644 --- a/operators/ew_binary/add/add_2x12x10x1_i32/test.json +++ b/operators/ew_binary/add/add_2x12x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_2x1x1x1_f16/test.json b/operators/ew_binary/add/add_2x1x1x1_f16/test.json index eefda3ae5..62a3781e9 100644 --- a/operators/ew_binary/add/add_2x1x1x1_f16/test.json +++ b/operators/ew_binary/add/add_2x1x1x1_f16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 1, + 1, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 1, + 65532 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 1, + 1, + 65532 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 1, - 1, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 1, - 65532 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 1, - 1, - 65532 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_36_bf16/test.json b/operators/ew_binary/add/add_36_bf16/test.json index 4a1509518..76dbf4a00 100644 --- a/operators/ew_binary/add/add_36_bf16/test.json +++ b/operators/ew_binary/add/add_36_bf16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_41x62_f16/test.json b/operators/ew_binary/add/add_41x62_f16/test.json index d33694651..d45702056 100644 --- a/operators/ew_binary/add/add_41x62_f16/test.json +++ b/operators/ew_binary/add/add_41x62_f16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_47x1_i32/test.json b/operators/ew_binary/add/add_47x1_i32/test.json index a96020cdc..bddbecf53 100644 --- a/operators/ew_binary/add/add_47x1_i32/test.json +++ b/operators/ew_binary/add/add_47x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 47, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 47, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_50x53_bf16/test.json b/operators/ew_binary/add/add_50x53_bf16/test.json index 4fdc57a3b..bbcb4cdc8 100644 --- a/operators/ew_binary/add/add_50x53_bf16/test.json +++ b/operators/ew_binary/add/add_50x53_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_60x53x1_f16/test.json b/operators/ew_binary/add/add_60x53x1_f16/test.json index f3efbde54..97b4db8e3 100644 --- a/operators/ew_binary/add/add_60x53x1_f16/test.json +++ b/operators/ew_binary/add/add_60x53x1_f16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_65542x2x1x1x1_f16/test.json b/operators/ew_binary/add/add_65542x2x1x1x1_f16/test.json index 166d3a1f2..7e24d300a 100644 --- a/operators/ew_binary/add/add_65542x2x1x1x1_f16/test.json +++ b/operators/ew_binary/add/add_65542x2x1x1x1_f16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65542, + 2, + 1, + 1, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 65542, + 2, + 1, + 1, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 65542, + 2, + 1, + 1, + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65542, - 2, - 1, - 1, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 65542, - 2, - 1, - 1, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 65542, - 2, - 1, - 1, - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_DimensionMismatch_11x2_bf16/test.json b/operators/ew_binary/add/add_ERRORIF_DimensionMismatch_11x2_bf16/test.json index 222481daf..8570f2469 100644 --- a/operators/ew_binary/add/add_ERRORIF_DimensionMismatch_11x2_bf16/test.json +++ b/operators/ew_binary/add/add_ERRORIF_DimensionMismatch_11x2_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 2 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 2 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 11, + 2 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 2 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 2 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 11, - 2 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_DimensionMismatch_12_i32/test.json b/operators/ew_binary/add/add_ERRORIF_DimensionMismatch_12_i32/test.json index b440a9368..2df40413a 100644 --- a/operators/ew_binary/add/add_ERRORIF_DimensionMismatch_12_i32/test.json +++ b/operators/ew_binary/add/add_ERRORIF_DimensionMismatch_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json b/operators/ew_binary/add/add_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json index 0e286041c..49cc8c6c4 100644 --- a/operators/ew_binary/add/add_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json +++ b/operators/ew_binary/add/add_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/ew_binary/add/add_ERRORIF_RankMismatch_13x2_i32/test.json index 67388530f..606995e4a 100644 --- a/operators/ew_binary/add/add_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/ew_binary/add/add_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_WrongInputList_11x5x12x9_i32/test.json b/operators/ew_binary/add/add_ERRORIF_WrongInputList_11x5x12x9_i32/test.json index fa500fc09..c5086b126 100644 --- a/operators/ew_binary/add/add_ERRORIF_WrongInputList_11x5x12x9_i32/test.json +++ b/operators/ew_binary/add/add_ERRORIF_WrongInputList_11x5x12x9_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 11, + 1, + 12, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 11, - 1, - 12, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_WrongInputList_2_f16/test.json b/operators/ew_binary/add/add_ERRORIF_WrongInputList_2_f16/test.json index e46fa6a8e..b697bca9b 100644 --- a/operators/ew_binary/add/add_ERRORIF_WrongInputList_2_f16/test.json +++ b/operators/ew_binary/add/add_ERRORIF_WrongInputList_2_f16/test.json @@ -5,52 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_WrongInputType_11x10x3_i16/test.json b/operators/ew_binary/add/add_ERRORIF_WrongInputType_11x10x3_i16/test.json index ef206b061..2c867cb2f 100644 --- a/operators/ew_binary/add/add_ERRORIF_WrongInputType_11x10x3_i16/test.json +++ b/operators/ew_binary/add/add_ERRORIF_WrongInputType_11x10x3_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_WrongInputType_14x11x12_i4/test.json b/operators/ew_binary/add/add_ERRORIF_WrongInputType_14x11x12_i4/test.json index 3bb90c428..48bee0463 100644 --- a/operators/ew_binary/add/add_ERRORIF_WrongInputType_14x11x12_i4/test.json +++ b/operators/ew_binary/add/add_ERRORIF_WrongInputType_14x11x12_i4/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 14, + 11, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 14, - 11, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json b/operators/ew_binary/add/add_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json index ba288d470..b18cb0d7a 100644 --- a/operators/ew_binary/add/add_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json +++ b/operators/ew_binary/add/add_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json @@ -5,61 +5,66 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_WrongOutputList_11x12_f32/test.json b/operators/ew_binary/add/add_ERRORIF_WrongOutputList_11x12_f32/test.json index b04f1718f..4f5e71656 100644 --- a/operators/ew_binary/add/add_ERRORIF_WrongOutputList_11x12_f32/test.json +++ b/operators/ew_binary/add/add_ERRORIF_WrongOutputList_11x12_f32/test.json @@ -5,54 +5,59 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 12 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 12 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 11, + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 12 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 12 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 11, - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_WrongOutputType_12_i32/test.json b/operators/ew_binary/add/add_ERRORIF_WrongOutputType_12_i32/test.json index 893f25ceb..36c537c60 100644 --- a/operators/ew_binary/add/add_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/ew_binary/add/add_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/add/add_ERRORIF_WrongOutputType_13x5x14_bf16/test.json b/operators/ew_binary/add/add_ERRORIF_WrongOutputType_13x5x14_bf16/test.json index d22f57b9a..0333870c7 100644 --- a/operators/ew_binary/add/add_ERRORIF_WrongOutputType_13x5x14_bf16/test.json +++ b/operators/ew_binary/add/add_ERRORIF_WrongOutputType_13x5x14_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ADD", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 5, + 14 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 5, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 13, + 5, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 5, - 14 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 5, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 13, - 5, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_10x1x13x9x7_i16_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_10x1x13x9x7_i16_roundFalse/test.json index 859f6a6b7..5af4528bb 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_10x1x13x9x7_i16_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_10x1x13x9x7_i16_roundFalse/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 13, + 9, + 7 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 13, - 9, - 7 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_10x1x13x9x7_i16_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_10x1x13x9x7_i16_roundTrue/test.json index f40e23158..f843a6b67 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_10x1x13x9x7_i16_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_10x1x13x9x7_i16_roundTrue/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 13, + 9, + 7 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 13, - 9, - 7 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_12x12x11x12_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_12x12x11x12_i32_roundFalse/test.json index 5a957d84d..2c72e7fbb 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_12x12x11x12_i32_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_12x12x11x12_i32_roundFalse/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_12x12x11x12_i32_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_12x12x11x12_i32_roundTrue/test.json index 2ed43c086..165fd4629 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_12x12x11x12_i32_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_12x12x11x12_i32_roundTrue/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_13x7x8x6x3_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_13x7x8x6x3_i8_roundFalse/test.json index d27affa55..cdb67a1ea 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_13x7x8x6x3_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_13x7x8x6x3_i8_roundFalse/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13, + 7, + 8, + 1, + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13, - 7, - 8, - 1, - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_13x7x8x6x3_i8_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_13x7x8x6x3_i8_roundTrue/test.json index 577b3d996..36578f2fa 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_13x7x8x6x3_i8_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_13x7x8x6x3_i8_roundTrue/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13, + 7, + 8, + 1, + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13, - 7, - 8, - 1, - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/test.json index 2e885932e..e5d52a7a9 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/test.json index b289311ab..d06cb60a3 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x2x65533x1_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x2x65533x1_i8_roundFalse/test.json index 4ce11b53a..bf3ea7644 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x2x65533x1_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x2x65533x1_i8_roundFalse/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x2x65533x1_i8_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x2x65533x1_i8_roundTrue/test.json index 7b94fc046..a8a6950b3 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x2x65533x1_i8_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x2x65533x1_i8_roundTrue/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x37_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x37_i32_roundFalse/test.json index a8720e65b..db5832e23 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x37_i32_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x37_i32_roundFalse/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x37_i32_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x37_i32_roundTrue/test.json index 3b7335bb6..a2d01b32f 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x37_i32_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x37_i32_roundTrue/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x40_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x40_i8_roundFalse/test.json index 5b9108ec7..ffce6abf8 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x40_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x40_i8_roundFalse/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x40_i8_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x40_i8_roundTrue/test.json index e4697a88a..3dc9c7f19 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x40_i8_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x37x40_i8_roundTrue/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x49_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x49_i8_roundFalse/test.json index cb81f8b07..199138ea5 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x49_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x49_i8_roundFalse/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x49_i8_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x49_i8_roundTrue/test.json index 20b70fce6..1fa2e000e 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x49_i8_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x49_i8_roundTrue/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x65539x1x1x1_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x65539x1x1x1_i8_roundFalse/test.json index db5f29f75..f52938f6e 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x65539x1x1x1_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x65539x1x1x1_i8_roundFalse/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x65539x1x1x1_i8_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x65539x1x1x1_i8_roundTrue/test.json index 3bcabfe70..fc9828853 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x65539x1x1x1_i8_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1x65539x1x1x1_i8_roundTrue/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/test.json index f0ce62c12..c44bdf6f7 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundTrue/test.json index 365018869..277a8415e 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundTrue/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/test.json index f6e8abf12..6a512b6fc 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/test.json index fae074b04..67a98f0fe 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x12x10x1_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x12x10x1_i8_roundFalse/test.json index 52fc1280f..f2e56caee 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x12x10x1_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x12x10x1_i8_roundFalse/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x12x10x1_i8_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x12x10x1_i8_roundTrue/test.json index 589947d03..3a5ae1bd6 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x12x10x1_i8_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x12x10x1_i8_roundTrue/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x9x14x1x13_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x9x14x1x13_i32_roundFalse/test.json index 6250d0995..59dd14894 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x9x14x1x13_i32_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x9x14x1x13_i32_roundFalse/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 14, + 1, + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 14, - 1, - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x9x14x1x13_i32_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x9x14x1x13_i32_roundTrue/test.json index 913551f3c..5ecd0a4a2 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x9x14x1x13_i32_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x9x14x1x13_i32_roundTrue/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 14, + 1, + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 14, - 1, - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/test.json index 43ffdeb6e..a7b8dc5ad 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/test.json index 477188688..877fcfdd3 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundTrue/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_41x62_i16_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_41x62_i16_roundFalse/test.json index 8041debcd..bb33c958a 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_41x62_i16_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_41x62_i16_roundFalse/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_41x62_i16_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_41x62_i16_roundTrue/test.json index eea823afd..ec3620ef5 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_41x62_i16_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_41x62_i16_roundTrue/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_50x53_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_50x53_i32_roundFalse/test.json index 53d1f1f16..b520b93b7 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_50x53_i32_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_50x53_i32_roundFalse/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_50x53_i32_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_50x53_i32_roundTrue/test.json index 88eba4459..46e5e276e 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_50x53_i32_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_50x53_i32_roundTrue/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_60x53x1_i16_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_60x53x1_i16_roundFalse/test.json index ebf6737ca..a25b01b9d 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_60x53x1_i16_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_60x53x1_i16_roundFalse/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_60x53x1_i16_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_60x53x1_i16_roundTrue/test.json index c5d9f0271..7c198d3e4 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_60x53x1_i16_roundTrue/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_60x53x1_i16_roundTrue/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: true - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: true + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_DimensionMismatch_12_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_DimensionMismatch_12_i8_roundFalse/test.json index fe1ab1584..db859c502 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_DimensionMismatch_12_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_DimensionMismatch_12_i8_roundFalse/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_RankMismatch_12x11x14x12_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_RankMismatch_12x11x14x12_i32_roundFalse/test.json index 7f74cbc9c..5e4960542 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_RankMismatch_12x11x14x12_i32_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_RankMismatch_12x11x14x12_i32_roundFalse/test.json @@ -5,16 +5,59 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,44 +66,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/test.json index a8b19d8ec..24d7425ef 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/test.json @@ -5,56 +5,61 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputType_11x10x3_i48_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputType_11x10x3_i48_roundFalse/test.json index 06b24666e..d04ba3cd5 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputType_11x10x3_i48_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputType_11x10x3_i48_roundFalse/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11_i16_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11_i16_roundFalse/test.json index b35eb5294..d595f811a 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11_i16_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11_i16_roundFalse/test.json @@ -5,54 +5,59 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputType_10x2x9_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputType_10x2x9_i8_roundFalse/test.json index 48164dec0..f9433806c 100644 --- a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputType_10x2x9_i8_roundFalse/test.json +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputType_10x2x9_i8_roundFalse/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "ARITHMETIC_RIGHT_SHIFT", - attribute_type: "ArithmeticRightShiftAttribute", - attribute: { - round: false - }, + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 10, - 1, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_1_i16/test.json b/operators/ew_binary/bitwise_and/bitwise_and_1_i16/test.json index 3bc1f8686..e95685a19 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_1_i16/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_1_i16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 42 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 42 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 42 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 42 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_1x28x29_i32/test.json b/operators/ew_binary/bitwise_and/bitwise_and_1x28x29_i32/test.json index 9ef3a1dd2..3fd81c95b 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_1x28x29_i32/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_1x28x29_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 28, + 29 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 35, + 28, + 29 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 35, + 28, + 29 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 28, - 29 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 35, - 28, - 29 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 35, - 28, - 29 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_1x29x32_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_1x29x32_i8/test.json index b5d30a873..2668dc1ec 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_1x29x32_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_1x29x32_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 29, + 32 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 53, + 29, + 32 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 53, + 29, + 32 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 29, - 32 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 53, - 29, - 32 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 53, - 29, - 32 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_1x2x65536x1_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_1x2x65536x1_i8/test.json index 95848c817..e87ed4bd3 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_1x2x65536x1_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_1x2x65536x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_1x44_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_1x44_i8/test.json index 8f1482723..30e7e849f 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_1x44_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_1x44_i8/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 44 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 6, + 44 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 6, + 44 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 44 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 6, - 44 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 6, - 44 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_1x65539x1x1x1_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_1x65539x1x1x1_i8/test.json index 1af5872c0..16f94aaf6 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_1x65539x1x1x1_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_1x65539x1x1x1_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_28_i32/test.json b/operators/ew_binary/bitwise_and/bitwise_and_28_i32/test.json index 10e92a9d8..a928282a9 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_28_i32/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_28_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 28 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 28 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_2x11x4x2x8_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_2x11x4x2x8_i8/test.json index 0b873ff37..8669b0109 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_2x11x4x2x8_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_2x11x4x2x8_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_2x12x10x1_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_2x12x10x1_i8/test.json index ccff6fa2c..cbb294842 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_2x12x10x1_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_2x12x10x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_34x62_i16/test.json b/operators/ew_binary/bitwise_and/bitwise_and_34x62_i16/test.json index 231ca8eca..f90f5ccdb 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_34x62_i16/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_34x62_i16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 34, + 62 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 34, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 34, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 34, - 62 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 34, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 34, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_46x50_i32/test.json b/operators/ew_binary/bitwise_and/bitwise_and_46x50_i32/test.json index 5513ff12e..12a5ef1bd 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_46x50_i32/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_46x50_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 46, + 50 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 50 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 46, + 50 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 46, - 50 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 50 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 46, - 50 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_59x50x1_i16/test.json b/operators/ew_binary/bitwise_and/bitwise_and_59x50x1_i16/test.json index a84ded529..04f34c4c2 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_59x50x1_i16/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_59x50x1_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 59, + 50, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 59, + 50, + 41 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 59, + 50, + 41 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 59, - 50, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 59, - 50, - 41 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 59, - 50, - 41 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_6_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/test.json index f1222d901..181678350 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_6_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 6 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 6 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_DimensionMismatch_12_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_DimensionMismatch_12_i8/test.json index 990ca5c88..927922c24 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_DimensionMismatch_12_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_DimensionMismatch_12_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_RankMismatch_12x11x14x12_i32/test.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_RankMismatch_12x11x14x12_i32/test.json index 6e2837d25..156ce48b9 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_RankMismatch_12x11x14x12_i32/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_RankMismatch_12x11x14x12_i32/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputList_10x10_i32/test.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputList_10x10_i32/test.json index a73f24f00..ecfa7ba69 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputList_10x10_i32/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputList_10x10_i32/test.json @@ -5,53 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_11x10x3_i48/test.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_11x10x3_i48/test.json index de3672d6e..36a56d37a 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_11x10x3_i48/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_11x10x3_i48/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputList_11_i16/test.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputList_11_i16/test.json index 1a09a6cdc..774a55d7a 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputList_11_i16/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputList_11_i16/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/test.json index 1b2a834c2..887875110 100644 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/test.json +++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 10, - 1, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_1_i16/test.json b/operators/ew_binary/bitwise_or/bitwise_or_1_i16/test.json index ab30286a2..d55e62183 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_1_i16/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_1_i16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 42 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 42 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 42 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 42 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_1x2x65538x1_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_1x2x65538x1_i8/test.json index 3c044c1ca..a32b9aed8 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_1x2x65538x1_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_1x2x65538x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65538, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65538, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65538, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65538, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65538, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65538, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_1x30x30_i32/test.json b/operators/ew_binary/bitwise_or/bitwise_or_1x30x30_i32/test.json index 9ea9d6324..bea8ddf89 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_1x30x30_i32/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_1x30x30_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 30, + 30 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 36, + 30, + 30 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36, + 30, + 30 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 30, - 30 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 36, - 30, - 30 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36, - 30, - 30 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_1x30x33_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_1x30x33_i8/test.json index 27b1a7ef9..ed5b17302 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_1x30x33_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_1x30x33_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 30, + 33 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 54, + 30, + 33 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 54, + 30, + 33 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 30, - 33 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 54, - 30, - 33 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 54, - 30, - 33 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_1x45_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_1x45_i8/test.json index fa2f3a3ab..857452de8 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_1x45_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_1x45_i8/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 45 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 8, + 45 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 8, + 45 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 45 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 8, - 45 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 8, - 45 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_1x65537x1x1x1_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_1x65537x1x1x1_i8/test.json index 81a3a2c6b..109e39811 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_1x65537x1x1x1_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_1x65537x1x1x1_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65537, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 65537, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65537, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65537, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 65537, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65537, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_29_i32/test.json b/operators/ew_binary/bitwise_or/bitwise_or_29_i32/test.json index 682b1ccd7..4090f7084 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_29_i32/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_29_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 29 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 29 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 29 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 29 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_2x11x4x2x8_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_2x11x4x2x8_i8/test.json index 862c29641..b0ba1dd50 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_2x11x4x2x8_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_2x11x4x2x8_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_2x12x10x1_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_2x12x10x1_i8/test.json index b6b7d4ef1..8bb512e47 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_2x12x10x1_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_2x12x10x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_35x62_i16/test.json b/operators/ew_binary/bitwise_or/bitwise_or_35x62_i16/test.json index 7588ef00c..284bf0451 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_35x62_i16/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_35x62_i16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 35, + 62 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 35, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 35, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 35, - 62 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 35, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 35, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_46x50_i32/test.json b/operators/ew_binary/bitwise_or/bitwise_or_46x50_i32/test.json index b6edf5eef..d9c728cdf 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_46x50_i32/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_46x50_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 46, + 50 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 50 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 46, + 50 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 46, - 50 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 50 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 46, - 50 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_59x50x1_i16/test.json b/operators/ew_binary/bitwise_or/bitwise_or_59x50x1_i16/test.json index 23f5189bd..11fae95af 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_59x50x1_i16/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_59x50x1_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 59, + 50, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 59, + 50, + 42 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 59, + 50, + 42 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 59, - 50, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 59, - 50, - 42 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 59, - 50, - 42 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_8_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/test.json index 4f59dce86..894a21a49 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_8_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 8 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 8 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 8 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_DimensionMismatch_12_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_DimensionMismatch_12_i8/test.json index e2dcac31c..f92317588 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_DimensionMismatch_12_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_DimensionMismatch_12_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_RankMismatch_12x11x14x12_i32/test.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_RankMismatch_12x11x14x12_i32/test.json index 223b34a90..863c16566 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_RankMismatch_12x11x14x12_i32/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_RankMismatch_12x11x14x12_i32/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputList_10x10_i32/test.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputList_10x10_i32/test.json index 1905ee8a1..d7f662d3b 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputList_10x10_i32/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputList_10x10_i32/test.json @@ -5,53 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/test.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/test.json index 5ea18f289..107cfe4c5 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongOutputList_11_i16/test.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongOutputList_11_i16/test.json index 53649049b..cbfef4976 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongOutputList_11_i16/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongOutputList_11_i16/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongOutputType_10x2x9_i8/test.json index cd7a94779..d8e4a9f98 100644 --- a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongOutputType_10x2x9_i8/test.json +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongOutputType_10x2x9_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 10, - 1, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json index 2f990b039..061cd02b1 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 43 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 43 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 43 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 43 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x2x65536x1_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x2x65536x1_i8/test.json index 2a1c52606..4f1baddc5 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x2x65536x1_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x2x65536x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x30x31_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x30x31_i32/test.json index 8e654c451..c369e7ba4 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x30x31_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x30x31_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 30, + 31 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 36, + 30, + 31 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36, + 30, + 31 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 30, - 31 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 36, - 30, - 31 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36, - 30, - 31 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x31x34_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x31x34_i8/test.json index d2434f34e..7996227b2 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x31x34_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x31x34_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 31, + 34 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 54, + 31, + 34 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 54, + 31, + 34 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 31, - 34 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 54, - 31, - 34 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 54, - 31, - 34 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json index eafa5d20e..f7380d044 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 45 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 9, + 45 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 9, + 45 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 45 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 9, - 45 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 9, - 45 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x65536x1x1x1_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x65536x1x1x1_i8/test.json index fdbea1d6d..ff114bee7 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x65536x1x1x1_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x65536x1x1x1_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 65536, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 65536, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_29_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_29_i32/test.json index e41f6a74e..e213cbdcc 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_29_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_29_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 29 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 29 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 29 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 29 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_2x11x4x2x8_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_2x11x4x2x8_i8/test.json index 952e1e9f5..4a69ab06c 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_2x11x4x2x8_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_2x11x4x2x8_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_2x12x10x1_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_2x12x10x1_i8/test.json index b00697b69..a212bc152 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_2x12x10x1_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_2x12x10x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_35x62_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_35x62_i16/test.json index 786be754e..fa81c3f53 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_35x62_i16/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_35x62_i16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 35, + 62 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 35, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 35, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 35, - 62 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 35, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 35, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_47x51_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_47x51_i32/test.json index 7a65fdaf5..b31662dac 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_47x51_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_47x51_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 51 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 51 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 51 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 51 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 51 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 51 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_59x50x1_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_59x50x1_i16/test.json index 009da8064..f55ac8909 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_59x50x1_i16/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_59x50x1_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 59, + 50, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 59, + 50, + 42 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 59, + 50, + 42 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 59, - 50, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 59, - 50, - 42 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 59, - 50, - 42 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_9_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_9_i8/test.json index 91db9fc98..142bf670e 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_9_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_9_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 9 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 9 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_DimensionMismatch_12_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_DimensionMismatch_12_i8/test.json index 6c981080a..f256d9e65 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_DimensionMismatch_12_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_DimensionMismatch_12_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_12x11x14x12_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_12x11x14x12_i32/test.json index 3c7c48d9f..5656e2fe5 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_12x11x14x12_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_12x11x14x12_i32/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputList_10x10_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputList_10x10_i32/test.json index b6603d215..c6d2e830b 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputList_10x10_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputList_10x10_i32/test.json @@ -5,53 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputType_11x10x3_i48/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputType_11x10x3_i48/test.json index 6db462fa3..bcc758cd7 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputType_11x10x3_i48/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputType_11x10x3_i48/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputList_11_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputList_11_i16/test.json index 3e42d153f..7de4b8d28 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputList_11_i16/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputList_11_i16/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputType_10x2x9_i8/test.json index c97c6be11..4332d1d37 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputType_10x2x9_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputType_10x2x9_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 10, - 1, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_1x1x65539x1x1_i32/test.json b/operators/ew_binary/intdiv/intdiv_1x1x65539x1x1_i32/test.json index 1b9a50231..53a9b65af 100644 --- a/operators/ew_binary/intdiv/intdiv_1x1x65539x1x1_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_1x1x65539x1x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65539, + 1, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65539, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65539, - 1, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65539, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_1x65533x1_i32/test.json b/operators/ew_binary/intdiv/intdiv_1x65533x1_i32/test.json index 2123db339..997996ba3 100644 --- a/operators/ew_binary/intdiv/intdiv_1x65533x1_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_1x65533x1_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65533, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65533, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_20_i32/test.json b/operators/ew_binary/intdiv/intdiv_20_i32/test.json index 958a6fcde..9a20ec6a3 100644 --- a/operators/ew_binary/intdiv/intdiv_20_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_20_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_20x1x25_i32/test.json b/operators/ew_binary/intdiv/intdiv_20x1x25_i32/test.json index 36cdff816..8b72a6ec0 100644 --- a/operators/ew_binary/intdiv/intdiv_20x1x25_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_20x1x25_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 1, + 25 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 1, - 25 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_2x11x4x2x8_i32/test.json b/operators/ew_binary/intdiv/intdiv_2x11x4x2x8_i32/test.json index 488a4e393..693354634 100644 --- a/operators/ew_binary/intdiv/intdiv_2x11x4x2x8_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_2x11x4x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_2x12x10x1_i32/test.json b/operators/ew_binary/intdiv/intdiv_2x12x10x1_i32/test.json index a51f11edd..c8cd09e99 100644 --- a/operators/ew_binary/intdiv/intdiv_2x12x10x1_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_2x12x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_47x1_i32/test.json b/operators/ew_binary/intdiv/intdiv_47x1_i32/test.json index 73cca6f32..df70b9173 100644 --- a/operators/ew_binary/intdiv/intdiv_47x1_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_47x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 47, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 47, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_11x7x11x3_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_11x7x11x3_i32/test.json index e5e9a0308..1451578aa 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_11x7x11x3_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_11x7x11x3_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 11, + 7, + 11, + 4 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 11, - 7, - 11, - 4 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_RankMismatch_13x2_i32/test.json index d07798af1..945e0fd23 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_13x1x13x5_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_13x1x13x5_i32/test.json index 18f496900..1d8b37ff1 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_13x1x13x5_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_13x1x13x5_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13, + 1, + 13, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13, - 1, - 13, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json index 0bc8e4bb4..4999de57c 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 14 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 7, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 7, + 14 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 14 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 7, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 7, - 14 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputList_10x7x7x7_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputList_10x7x7x7_i32/test.json index 297bae919..53335ecd7 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputList_10x7x7x7_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputList_10x7x7x7_i32/test.json @@ -5,60 +5,65 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 7, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 7, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_12_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_12_i32/test.json index 7599945a7..005b1c02a 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_1x2x1x65536_b/test.json b/operators/ew_binary/logical_and/logical_and_1x2x1x65536_b/test.json index 98616064d..e6936a11a 100644 --- a/operators/ew_binary/logical_and/logical_and_1x2x1x65536_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_1x2x1x65536_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 65536 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 65536 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65536 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 1, - 65536 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 65536 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65536 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_1x65538x1_b/test.json b/operators/ew_binary/logical_and/logical_and_1x65538x1_b/test.json index b332c5718..e983b3916 100644 --- a/operators/ew_binary/logical_and/logical_and_1x65538x1_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_1x65538x1_b/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65538, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1, + 65538, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65538, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1, - 65538, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_2x11x4x2x8_b/test.json b/operators/ew_binary/logical_and/logical_and_2x11x4x2x8_b/test.json index 72cf88ec0..37d5ca16b 100644 --- a/operators/ew_binary/logical_and/logical_and_2x11x4x2x8_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_2x11x4x2x8_b/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_2x12x10x1_b/test.json b/operators/ew_binary/logical_and/logical_and_2x12x10x1_b/test.json index 8293f6353..ceb5e9f1d 100644 --- a/operators/ew_binary/logical_and/logical_and_2x12x10x1_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_2x12x10x1_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_42x1_b/test.json b/operators/ew_binary/logical_and/logical_and_42x1_b/test.json index 34ed5fdef..ac5cb9aa2 100644 --- a/operators/ew_binary/logical_and/logical_and_42x1_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_42x1_b/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 42, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 42, + 28 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 42, + 28 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 42, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 42, - 28 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 42, - 28 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_6_b/test.json b/operators/ew_binary/logical_and/logical_and_6_b/test.json index d116b3afc..7111f4d86 100644 --- a/operators/ew_binary/logical_and/logical_and_6_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_6_b/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 6 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 6 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_6x1x13_b/test.json b/operators/ew_binary/logical_and/logical_and_6x1x13_b/test.json index 760dfbb8b..3ac5eee80 100644 --- a/operators/ew_binary/logical_and/logical_and_6x1x13_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_6x1x13_b/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 1, + 13 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 6, + 44, + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 6, + 44, + 13 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 1, - 13 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 6, - 44, - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 6, - 44, - 13 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json b/operators/ew_binary/logical_and/logical_and_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json index 59b5d048e..cb868ca94 100644 --- a/operators/ew_binary/logical_and/logical_and_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 11, + 7, + 11, + 4 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 11, - 7, - 11, - 4 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_ERRORIF_RankMismatch_13x2_b/test.json b/operators/ew_binary/logical_and/logical_and_ERRORIF_RankMismatch_13x2_b/test.json index e60912488..7de443e34 100644 --- a/operators/ew_binary/logical_and/logical_and_ERRORIF_RankMismatch_13x2_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_ERRORIF_RankMismatch_13x2_b/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongInputList_13x1x13x5_b/test.json b/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongInputList_13x1x13x5_b/test.json index 14f225630..622d7b0ee 100644 --- a/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongInputList_13x1x13x5_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongInputList_13x1x13x5_b/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 13, + 1, + 13, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BOOL" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 13, - 1, - 13, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongInputType_5x12x13x7_i4/test.json b/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongInputType_5x12x13x7_i4/test.json index 0a64891e6..d3e0db9cd 100644 --- a/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongInputType_5x12x13x7_i4/test.json +++ b/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongInputType_5x12x13x7_i4/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 12, + 13, + 7 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 5, + 12, + 13, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 5, + 12, + 13, + 7 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 12, - 13, - 7 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 5, - 12, - 13, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 5, - 12, - 13, - 7 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongOutputList_10x7x7x7_b/test.json b/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongOutputList_10x7x7x7_b/test.json index a1bf893e9..3eefab79e 100644 --- a/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongOutputList_10x7x7x7_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongOutputList_10x7x7x7_b/test.json @@ -5,60 +5,65 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 7, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 7, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongOutputType_12_b/test.json b/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongOutputType_12_b/test.json index dfda6d79e..c48afc7e1 100644 --- a/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongOutputType_12_b/test.json +++ b/operators/ew_binary/logical_and/logical_and_ERRORIF_WrongOutputType_12_b/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_AND", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_10x1x13x9x7_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_10x1x13x9x7_i16/test.json index b1287d824..da8a8f601 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_10x1x13x9x7_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_10x1x13x9x7_i16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 13, + 9, + 7 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 13, - 9, - 7 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_12x12x11x12_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_12x12x11x12_i32/test.json index 4fc6df11d..c13322cf9 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_12x12x11x12_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_12x12x11x12_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_13x7x8x6x3_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_13x7x8x6x3_i8/test.json index b35949fa4..037c3f2b7 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_13x7x8x6x3_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_13x7x8x6x3_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13, + 7, + 8, + 1, + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13, - 7, - 8, - 1, - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json index f1e692158..c3c005e1e 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x2x1x65538_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x2x1x65538_i8/test.json index a013713b9..f9aacf8a1 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x2x1x65538_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x2x1x65538_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 65538 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 65538 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65538 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 1, - 65538 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 65538 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65538 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x37_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x37_i32/test.json index 4fc3506bd..d43d291ae 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x37_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x37_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x40_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x40_i8/test.json index a789635e8..650dd66eb 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x40_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x40_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x49_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x49_i8/test.json index 4ce3932db..84520d17b 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x49_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x49_i8/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x65532x1x1_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x65532x1x1_i8/test.json index b01fe2193..2aaa2cd4c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x65532x1x1_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x65532x1x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65532, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 65532, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65532, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65532, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 65532, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65532, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json index d34b49683..22b6a5ebf 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json index 40015248f..dcaedfb4c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x12x10x1_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x12x10x1_i8/test.json index fd208d061..ccd19166c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_2x12x10x1_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x12x10x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x9x14x1x13_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x9x14x1x13_i32/test.json index 030e56027..c39090af3 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_2x9x14x1x13_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x9x14x1x13_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 14, + 1, + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 14, - 1, - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json index 215793018..914131a14 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_41x62_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_41x62_i16/test.json index 0622c3e5b..a9915557c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_41x62_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_41x62_i16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_50x53_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_50x53_i32/test.json index 5ceda7407..507bbc76c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_50x53_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_50x53_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_60x53x1_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_60x53x1_i16/test.json index 387a22be3..49ccf4dcf 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_60x53x1_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_60x53x1_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_DimensionMismatch_12_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_DimensionMismatch_12_i8/test.json index 274f0d868..4e460619d 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_DimensionMismatch_12_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_DimensionMismatch_12_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json index e7c8b097e..defdf7f6e 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputList_10x10_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputList_10x10_i32/test.json index 4f16f67c8..d40ef3973 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputList_10x10_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputList_10x10_i32/test.json @@ -5,55 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json index b32aa2c30..0f6ad7ce4 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputList_11_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputList_11_i16/test.json index fc1a04de4..5f1675ec6 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputList_11_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputList_11_i16/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json index a2abd8fc1..ffb7d8f6e 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 10, - 1, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10, - 2, - 9 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_1x2x1x65537_b/test.json b/operators/ew_binary/logical_or/logical_or_1x2x1x65537_b/test.json index ae9745cb8..26bad320f 100644 --- a/operators/ew_binary/logical_or/logical_or_1x2x1x65537_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_1x2x1x65537_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 65537 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 65537 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65537 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 1, - 65537 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 65537 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65537 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_1x65536x1_b/test.json b/operators/ew_binary/logical_or/logical_or_1x65536x1_b/test.json index 6123de7b5..814b795a1 100644 --- a/operators/ew_binary/logical_or/logical_or_1x65536x1_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_1x65536x1_b/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1, + 65536, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1, - 65536, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_2x10x3x2x7_b/test.json b/operators/ew_binary/logical_or/logical_or_2x10x3x2x7_b/test.json index 42fa5d7d3..ad8bd98ca 100644 --- a/operators/ew_binary/logical_or/logical_or_2x10x3x2x7_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_2x10x3x2x7_b/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 10, + 3, + 2, + 7 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 2, + 10, + 3, + 1, + 7 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 10, + 3, + 2, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 10, - 3, - 2, - 7 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 2, - 10, - 3, - 1, - 7 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 10, - 3, - 2, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_2x11x9x1_b/test.json b/operators/ew_binary/logical_or/logical_or_2x11x9x1_b/test.json index 280852053..7332a9a52 100644 --- a/operators/ew_binary/logical_or/logical_or_2x11x9x1_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_2x11x9x1_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 9, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 9, + 6 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 9, + 6 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 9, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 9, - 6 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 9, - 6 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_42x1_b/test.json b/operators/ew_binary/logical_or/logical_or_42x1_b/test.json index 21efa37c9..4438b5571 100644 --- a/operators/ew_binary/logical_or/logical_or_42x1_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_42x1_b/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 42, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 42, + 29 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 42, + 29 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 42, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 42, - 29 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 42, - 29 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_8_b/test.json b/operators/ew_binary/logical_or/logical_or_8_b/test.json index edf9221ef..928623c3d 100644 --- a/operators/ew_binary/logical_or/logical_or_8_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_8_b/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 8 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 8 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 8 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_8x1x15_b/test.json b/operators/ew_binary/logical_or/logical_or_8x1x15_b/test.json index c30584059..7ff96d7eb 100644 --- a/operators/ew_binary/logical_or/logical_or_8x1x15_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_8x1x15_b/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8, + 1, + 15 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 8, + 45, + 15 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 8, + 45, + 15 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 8, - 1, - 15 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 8, - 45, - 15 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 8, - 45, - 15 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json index d64a6460b..e95c0f90d 100644 --- a/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 11, + 7, + 11, + 4 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 11, - 7, - 11, - 4 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_RankMismatch_13x2_b/test.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_RankMismatch_13x2_b/test.json index 2ca2caea4..482e11a71 100644 --- a/operators/ew_binary/logical_or/logical_or_ERRORIF_RankMismatch_13x2_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_RankMismatch_13x2_b/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongInputList_13x1x13x5_b/test.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongInputList_13x1x13x5_b/test.json index ea1719415..f20b8beb2 100644 --- a/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongInputList_13x1x13x5_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongInputList_13x1x13x5_b/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 13, + 1, + 13, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BOOL" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 13, - 1, - 13, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongInputType_5x12x13x7_i4/test.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongInputType_5x12x13x7_i4/test.json index b072500d2..e46d7b739 100644 --- a/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongInputType_5x12x13x7_i4/test.json +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongInputType_5x12x13x7_i4/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 12, + 13, + 7 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 5, + 12, + 13, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 5, + 12, + 13, + 7 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 12, - 13, - 7 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 5, - 12, - 13, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 5, - 12, - 13, - 7 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongOutputList_10x7x7x7_b/test.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongOutputList_10x7x7x7_b/test.json index e53dc6efe..abf52468c 100644 --- a/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongOutputList_10x7x7x7_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongOutputList_10x7x7x7_b/test.json @@ -5,60 +5,65 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 7, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 7, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongOutputType_12_b/test.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongOutputType_12_b/test.json index fbd739960..780fb8962 100644 --- a/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongOutputType_12_b/test.json +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_WrongOutputType_12_b/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_OR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_16x1x20x14x11_i16/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_16x1x20x14x11_i16/test.json index e3fa271ee..df3667714 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_16x1x20x14x11_i16/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_16x1x20x14x11_i16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16, + 1, + 20, + 14, + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 16, + 10, + 20, + 14, + 11 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 16, + 10, + 20, + 14, + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16, - 1, - 20, - 14, - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 16, - 10, - 20, - 14, - 11 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 16, - 10, - 20, - 14, - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_18x19x18x19_i32/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_18x19x18x19_i32/test.json index 93c183f51..bc64f72bc 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_18x19x18x19_i32/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_18x19x18x19_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 18, + 19, + 18, + 19 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 19, + 18, + 19 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 18, + 19, + 18, + 19 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 18, - 19, - 18, - 19 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 19, - 18, - 19 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 18, - 19, - 18, - 19 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_1_i16/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_1_i16/test.json index 45ee2737b..04202192b 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_1_i16/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_1_i16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 50 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 50 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 50 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 50 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_1x1x65540x1_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_1x1x65540x1_i8/test.json index 43238560b..14e23b81f 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_1x1x65540x1_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_1x1x65540x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65540, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 65540, + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65540, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65540, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 65540, - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65540, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_1x42x42_i32/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_1x42x42_i32/test.json index c2d507cb4..0c4c1f515 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_1x42x42_i32/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_1x42x42_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 42, + 42 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 46, + 42, + 42 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 46, + 42, + 42 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 42, - 42 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 46, - 42, - 42 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 46, - 42, - 42 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_1x42x44_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_1x42x44_i8/test.json index 3ff0c0e66..777e2207d 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_1x42x44_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_1x42x44_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 42, + 44 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 57, + 42, + 44 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 57, + 42, + 44 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 42, - 44 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 57, - 42, - 44 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 57, - 42, - 44 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_1x52_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_1x52_i8/test.json index 11a5d5b8d..6b925547e 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_1x52_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_1x52_i8/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 52 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 28, + 52 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 28, + 52 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 52 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 28, - 52 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 28, - 52 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_21x11x13x9x5_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_21x11x13x9x5_i8/test.json index f0837b6dd..418ce6266 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_21x11x13x9x5_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_21x11x13x9x5_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21, + 11, + 13, + 9, + 5 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 21, + 11, + 13, + 1, + 5 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 21, + 11, + 13, + 9, + 5 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 21, - 11, - 13, - 9, - 5 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 21, - 11, - 13, - 1, - 5 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 21, - 11, - 13, - 9, - 5 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/test.json index edd18fe54..3dffa6ea7 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 28 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 28 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_2x1x65530x1x1_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_2x1x65530x1x1_i8/test.json index d0bc8a3b3..5c8a4cb49 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_2x1x65530x1x1_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_2x1x65530x1x1_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 1, + 65530, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 1, + 65530, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 1, - 65530, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 1, - 65530, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_3x14x22x2x21_i32/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_3x14x22x2x21_i32/test.json index 128a41323..c6aba9d96 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_3x14x22x2x21_i32/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_3x14x22x2x21_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 14, + 22, + 2, + 21 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 3, + 1, + 22, + 2, + 21 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 3, + 14, + 22, + 2, + 21 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 14, - 22, - 2, - 21 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 3, - 1, - 22, - 2, - 21 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 3, - 14, - 22, - 2, - 21 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_3x17x5x3_i16/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_3x17x5x3_i16/test.json index 23733e5ec..0d9e217c5 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_3x17x5x3_i16/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_3x17x5x3_i16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 5, + 3 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 3, + 17, + 5, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 3, + 17, + 5, + 3 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 5, - 3 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 3, - 17, - 5, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 3, - 17, - 5, - 3 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_3x19x16x1_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_3x19x16x1_i8/test.json index 85d442416..f307ebacc 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_3x19x16x1_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_3x19x16x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 19, + 16, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 3, + 19, + 16, + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 3, + 19, + 16, + 11 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 19, - 16, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 3, - 19, - 16, - 11 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 3, - 19, - 16, - 11 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_41_i32/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_41_i32/test.json index 9f233322d..1ee3e7d99 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_41_i32/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_41_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 41 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 41 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_45x63_i16/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_45x63_i16/test.json index afc22a0f7..8bcbabf0d 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_45x63_i16/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_45x63_i16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 45, + 63 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 45, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 45, + 63 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 45, - 63 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 45, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 45, - 63 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_52x55_i32/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_52x55_i32/test.json index 2ae1be17f..ec65a835a 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_52x55_i32/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_52x55_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 52, + 55 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 55 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 52, + 55 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 52, - 55 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 55 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 52, - 55 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_61x55x1_i16/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_61x55x1_i16/test.json index a2a438ca5..853bc355c 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_61x55x1_i16/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_61x55x1_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 61, + 55, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 61, + 55, + 50 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 61, + 55, + 50 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 61, - 55, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 61, - 55, - 50 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 61, - 55, - 50 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_DimensionMismatch_12_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_DimensionMismatch_12_i8/test.json index c32be03c0..c4ee9d347 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_DimensionMismatch_12_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_DimensionMismatch_12_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json index 34f704b90..4a9c60436 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/test.json index c17951169..b2f7f03e5 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/test.json @@ -5,55 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json index c7b8acb01..dfc18ceb5 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongOutputList_11_i16/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongOutputList_11_i16/test.json index 8d890e330..bb17df763 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongOutputList_11_i16/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongOutputList_11_i16/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json index 4e6bbfcc2..9ac72a0bf 100644 --- a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_RIGHT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 10, - 1, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10, - 2, - 9 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_1x2x1x65534_b/test.json b/operators/ew_binary/logical_xor/logical_xor_1x2x1x65534_b/test.json index eb85e373e..e634188c5 100644 --- a/operators/ew_binary/logical_xor/logical_xor_1x2x1x65534_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_1x2x1x65534_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 65534 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 65534 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65534 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 1, - 65534 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 65534 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65534 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_1x65539x1_b/test.json b/operators/ew_binary/logical_xor/logical_xor_1x65539x1_b/test.json index 72a257c50..ed2c531c7 100644 --- a/operators/ew_binary/logical_xor/logical_xor_1x65539x1_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_1x65539x1_b/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_43x1_b/test.json b/operators/ew_binary/logical_xor/logical_xor_43x1_b/test.json index cf07afdde..bca2350c6 100644 --- a/operators/ew_binary/logical_xor/logical_xor_43x1_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_43x1_b/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 43, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 43, + 30 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 43, + 30 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 43, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 43, - 30 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 43, - 30 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_4x12x5x4x9_b/test.json b/operators/ew_binary/logical_xor/logical_xor_4x12x5x4x9_b/test.json index 07a76df7d..57de60eba 100644 --- a/operators/ew_binary/logical_xor/logical_xor_4x12x5x4x9_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_4x12x5x4x9_b/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 12, + 5, + 4, + 9 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 4, + 12, + 5, + 1, + 9 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4, + 12, + 5, + 4, + 9 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 12, - 5, - 4, - 9 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 4, - 12, - 5, - 1, - 9 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4, - 12, - 5, - 4, - 9 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_4x13x11x1_b/test.json b/operators/ew_binary/logical_xor/logical_xor_4x13x11x1_b/test.json index afe52e0e3..d00cf6489 100644 --- a/operators/ew_binary/logical_xor/logical_xor_4x13x11x1_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_4x13x11x1_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 13, + 11, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 4, + 13, + 11, + 8 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4, + 13, + 11, + 8 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 13, - 11, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 4, - 13, - 11, - 8 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4, - 13, - 11, - 8 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_9_b/test.json b/operators/ew_binary/logical_xor/logical_xor_9_b/test.json index e93e2e64a..a6c2756bc 100644 --- a/operators/ew_binary/logical_xor/logical_xor_9_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_9_b/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 9 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 9 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 9 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_9x1x16_b/test.json b/operators/ew_binary/logical_xor/logical_xor_9x1x16_b/test.json index 23ede7ed5..e67d4b793 100644 --- a/operators/ew_binary/logical_xor/logical_xor_9x1x16_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_9x1x16_b/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9, + 1, + 16 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 9, + 45, + 16 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 9, + 45, + 16 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 9, - 1, - 16 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 9, - 45, - 16 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 9, - 45, - 16 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json index f54b1a528..772716f0c 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 11, + 7, + 11, + 4 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 11, - 7, - 11, - 4 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_RankMismatch_13x2_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_RankMismatch_13x2_b/test.json index 3263bf5e3..f27fa0525 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_RankMismatch_13x2_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_RankMismatch_13x2_b/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputList_13x1x13x5_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputList_13x1x13x5_b/test.json index 53ed24648..43da68071 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputList_13x1x13x5_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputList_13x1x13x5_b/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 13, + 1, + 13, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BOOL" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 13, - 1, - 13, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputType_5x12x13x7_i4/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputType_5x12x13x7_i4/test.json index 70fc0882b..c1d0d7c4d 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputType_5x12x13x7_i4/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputType_5x12x13x7_i4/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 12, + 13, + 7 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 5, + 12, + 13, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 5, + 12, + 13, + 7 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 12, - 13, - 7 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 5, - 12, - 13, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 5, - 12, - 13, - 7 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputList_10x7x7x7_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputList_10x7x7x7_b/test.json index fb8134564..d214a4560 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputList_10x7x7x7_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputList_10x7x7x7_b/test.json @@ -5,60 +5,65 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 7, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 7, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json index 9845927e2..211aa589e 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_10x1x13x9x7_f16/test.json b/operators/ew_binary/maximum/maximum_10x1x13x9x7_f16/test.json index 2d071a6e5..cd7740683 100644 --- a/operators/ew_binary/maximum/maximum_10x1x13x9x7_f16/test.json +++ b/operators/ew_binary/maximum/maximum_10x1x13x9x7_f16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 13, + 9, + 7 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 13, - 9, - 7 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_12x12x11x12_bf16/test.json b/operators/ew_binary/maximum/maximum_12x12x11x12_bf16/test.json index 1e34deff7..e789fbde8 100644 --- a/operators/ew_binary/maximum/maximum_12x12x11x12_bf16/test.json +++ b/operators/ew_binary/maximum/maximum_12x12x11x12_bf16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_13x7x8x6x3_f32/test.json b/operators/ew_binary/maximum/maximum_13x7x8x6x3_f32/test.json index c8b45b659..f9b96f0df 100644 --- a/operators/ew_binary/maximum/maximum_13x7x8x6x3_f32/test.json +++ b/operators/ew_binary/maximum/maximum_13x7x8x6x3_f32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 13, + 7, + 8, + 1, + 3 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 13, - 7, - 8, - 1, - 3 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_1_f16/test.json b/operators/ew_binary/maximum/maximum_1_f16/test.json index 3882521e4..f555f7e3c 100644 --- a/operators/ew_binary/maximum/maximum_1_f16/test.json +++ b/operators/ew_binary/maximum/maximum_1_f16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_1x1x65541x1_f32/test.json b/operators/ew_binary/maximum/maximum_1x1x65541x1_f32/test.json index 467e33d82..ee4b9f8b6 100644 --- a/operators/ew_binary/maximum/maximum_1x1x65541x1_f32/test.json +++ b/operators/ew_binary/maximum/maximum_1x1x65541x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65541, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 65541, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65541, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65541, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 65541, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65541, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_1x2x65533x1_i32/test.json b/operators/ew_binary/maximum/maximum_1x2x65533x1_i32/test.json index 81e102bd6..34ff0c028 100644 --- a/operators/ew_binary/maximum/maximum_1x2x65533x1_i32/test.json +++ b/operators/ew_binary/maximum/maximum_1x2x65533x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_1x37x37_bf16/test.json b/operators/ew_binary/maximum/maximum_1x37x37_bf16/test.json index e0eae9635..0db39f453 100644 --- a/operators/ew_binary/maximum/maximum_1x37x37_bf16/test.json +++ b/operators/ew_binary/maximum/maximum_1x37x37_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_1x37x40_f32/test.json b/operators/ew_binary/maximum/maximum_1x37x40_f32/test.json index f09c6b74b..5930505b6 100644 --- a/operators/ew_binary/maximum/maximum_1x37x40_f32/test.json +++ b/operators/ew_binary/maximum/maximum_1x37x40_f32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_1x49_f32/test.json b/operators/ew_binary/maximum/maximum_1x49_f32/test.json index 5aecd5693..cc1030103 100644 --- a/operators/ew_binary/maximum/maximum_1x49_f32/test.json +++ b/operators/ew_binary/maximum/maximum_1x49_f32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_1x65539x1x1x1_i32/test.json b/operators/ew_binary/maximum/maximum_1x65539x1x1x1_i32/test.json index 6085180c3..143bae011 100644 --- a/operators/ew_binary/maximum/maximum_1x65539x1x1x1_i32/test.json +++ b/operators/ew_binary/maximum/maximum_1x65539x1x1x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_20_f32/test.json b/operators/ew_binary/maximum/maximum_20_f32/test.json index 296f19240..89dea6816 100644 --- a/operators/ew_binary/maximum/maximum_20_f32/test.json +++ b/operators/ew_binary/maximum/maximum_20_f32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_20_i32/test.json b/operators/ew_binary/maximum/maximum_20_i32/test.json index e33c271ca..3d0627030 100644 --- a/operators/ew_binary/maximum/maximum_20_i32/test.json +++ b/operators/ew_binary/maximum/maximum_20_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_20x1x25_i32/test.json b/operators/ew_binary/maximum/maximum_20x1x25_i32/test.json index a06108f8b..82754660e 100644 --- a/operators/ew_binary/maximum/maximum_20x1x25_i32/test.json +++ b/operators/ew_binary/maximum/maximum_20x1x25_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 1, + 25 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 1, - 25 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_2x11x4x2_f16/test.json b/operators/ew_binary/maximum/maximum_2x11x4x2_f16/test.json index 6f47a2eb7..344e217d0 100644 --- a/operators/ew_binary/maximum/maximum_2x11x4x2_f16/test.json +++ b/operators/ew_binary/maximum/maximum_2x11x4x2_f16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_2x11x4x2x8_i32/test.json b/operators/ew_binary/maximum/maximum_2x11x4x2x8_i32/test.json index 8f9b790ab..081ce675f 100644 --- a/operators/ew_binary/maximum/maximum_2x11x4x2x8_i32/test.json +++ b/operators/ew_binary/maximum/maximum_2x11x4x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_2x12x10x1_f32/test.json b/operators/ew_binary/maximum/maximum_2x12x10x1_f32/test.json index 7c0fb29d5..4540bf18f 100644 --- a/operators/ew_binary/maximum/maximum_2x12x10x1_f32/test.json +++ b/operators/ew_binary/maximum/maximum_2x12x10x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_2x12x10x1_i32/test.json b/operators/ew_binary/maximum/maximum_2x12x10x1_i32/test.json index 9557f0772..ffd9ba7a7 100644 --- a/operators/ew_binary/maximum/maximum_2x12x10x1_i32/test.json +++ b/operators/ew_binary/maximum/maximum_2x12x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_2x9x14x1x13_bf16/test.json b/operators/ew_binary/maximum/maximum_2x9x14x1x13_bf16/test.json index 7a43afd99..c9bca8c59 100644 --- a/operators/ew_binary/maximum/maximum_2x9x14x1x13_bf16/test.json +++ b/operators/ew_binary/maximum/maximum_2x9x14x1x13_bf16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 14, + 1, + 13 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 14, - 1, - 13 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_36_bf16/test.json b/operators/ew_binary/maximum/maximum_36_bf16/test.json index deb60e891..a6b5b65ce 100644 --- a/operators/ew_binary/maximum/maximum_36_bf16/test.json +++ b/operators/ew_binary/maximum/maximum_36_bf16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_41x62_f16/test.json b/operators/ew_binary/maximum/maximum_41x62_f16/test.json index dd1a1765e..40422895b 100644 --- a/operators/ew_binary/maximum/maximum_41x62_f16/test.json +++ b/operators/ew_binary/maximum/maximum_41x62_f16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_47x1_i32/test.json b/operators/ew_binary/maximum/maximum_47x1_i32/test.json index eb364994c..9a40d0304 100644 --- a/operators/ew_binary/maximum/maximum_47x1_i32/test.json +++ b/operators/ew_binary/maximum/maximum_47x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 47, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 47, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_50x53_bf16/test.json b/operators/ew_binary/maximum/maximum_50x53_bf16/test.json index f475e6b72..831eec187 100644 --- a/operators/ew_binary/maximum/maximum_50x53_bf16/test.json +++ b/operators/ew_binary/maximum/maximum_50x53_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_60x53x1_f16/test.json b/operators/ew_binary/maximum/maximum_60x53x1_f16/test.json index eafd106fe..0d2f91c48 100644 --- a/operators/ew_binary/maximum/maximum_60x53x1_f16/test.json +++ b/operators/ew_binary/maximum/maximum_60x53x1_f16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_65531x1x2x1_f32/test.json b/operators/ew_binary/maximum/maximum_65531x1x2x1_f32/test.json index fddec92d4..749f953b4 100644 --- a/operators/ew_binary/maximum/maximum_65531x1x2x1_f32/test.json +++ b/operators/ew_binary/maximum/maximum_65531x1x2x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65531, + 1, + 2, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 65531, + 1, + 2, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 65531, + 1, + 2, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65531, - 1, - 2, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 65531, - 1, - 2, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 65531, - 1, - 2, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_DimensionMismatch_11x2_bf16/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_DimensionMismatch_11x2_bf16/test.json index 36c359e35..7478d75d6 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_DimensionMismatch_11x2_bf16/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_DimensionMismatch_11x2_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 2 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 2 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 11, + 2 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 2 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 2 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 11, - 2 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_DimensionMismatch_12_i32/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_DimensionMismatch_12_i32/test.json index 11e65e464..b001d27c6 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_DimensionMismatch_12_i32/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_DimensionMismatch_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json index 91eba630f..c25644732 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_RankMismatch_13x2_i32/test.json index 609e87cd6..73cb44bfc 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json index 1f5619c6e..8a1577e20 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 11, + 1, + 12, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 11, - 1, - 12, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputList_2_f16/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputList_2_f16/test.json index c7c15e527..d2ed48f63 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputList_2_f16/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputList_2_f16/test.json @@ -5,52 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputType_11x10x3_i16/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputType_11x10x3_i16/test.json index db49b698a..3fe1c884c 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputType_11x10x3_i16/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputType_11x10x3_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputType_14x11x12_i4/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputType_14x11x12_i4/test.json index ac1d5eca5..2f837c6f9 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputType_14x11x12_i4/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_WrongInputType_14x11x12_i4/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 14, + 11, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 14, - 11, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json index 06e306728..86288ca17 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json @@ -5,61 +5,66 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputList_11x12_f32/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputList_11x12_f32/test.json index 23a712272..068a0e4ed 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputList_11x12_f32/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputList_11x12_f32/test.json @@ -5,54 +5,59 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 12 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 12 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 11, + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 12 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 12 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 11, - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputType_12_i32/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputType_12_i32/test.json index a9477e5bb..bbd68730f 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json b/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json index d324a72c9..2811a9d8d 100644 --- a/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json +++ b/operators/ew_binary/maximum/maximum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MAXIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MAXIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 5, + 14 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 5, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 13, + 5, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 5, - 14 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 5, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 13, - 5, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_10x1x13x9x7_f16/test.json b/operators/ew_binary/minimum/minimum_10x1x13x9x7_f16/test.json index c447a94e7..c97175c76 100644 --- a/operators/ew_binary/minimum/minimum_10x1x13x9x7_f16/test.json +++ b/operators/ew_binary/minimum/minimum_10x1x13x9x7_f16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 13, + 9, + 7 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 13, - 9, - 7 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_12x12x11x12_bf16/test.json b/operators/ew_binary/minimum/minimum_12x12x11x12_bf16/test.json index 54dac0d9e..0a8ad0487 100644 --- a/operators/ew_binary/minimum/minimum_12x12x11x12_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_12x12x11x12_bf16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_13x7x8x6x3_f32/test.json b/operators/ew_binary/minimum/minimum_13x7x8x6x3_f32/test.json index 47720bb9d..4d2033d55 100644 --- a/operators/ew_binary/minimum/minimum_13x7x8x6x3_f32/test.json +++ b/operators/ew_binary/minimum/minimum_13x7x8x6x3_f32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 13, + 7, + 8, + 1, + 3 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 13, - 7, - 8, - 1, - 3 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1_f16/test.json b/operators/ew_binary/minimum/minimum_1_f16/test.json index 254af6217..3fec8c760 100644 --- a/operators/ew_binary/minimum/minimum_1_f16/test.json +++ b/operators/ew_binary/minimum/minimum_1_f16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x1x1x65538_f32/test.json b/operators/ew_binary/minimum/minimum_1x1x1x65538_f32/test.json index d3deb1c82..c4a085624 100644 --- a/operators/ew_binary/minimum/minimum_1x1x1x65538_f32/test.json +++ b/operators/ew_binary/minimum/minimum_1x1x1x65538_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 1, + 65538 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 65538 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 65538 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 1, - 65538 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 65538 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 65538 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x2x65533x1_i32/test.json b/operators/ew_binary/minimum/minimum_1x2x65533x1_i32/test.json index b8f83ab3b..18f92e23a 100644 --- a/operators/ew_binary/minimum/minimum_1x2x65533x1_i32/test.json +++ b/operators/ew_binary/minimum/minimum_1x2x65533x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x37x37_bf16/test.json b/operators/ew_binary/minimum/minimum_1x37x37_bf16/test.json index 07a2ba500..05066ca8e 100644 --- a/operators/ew_binary/minimum/minimum_1x37x37_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_1x37x37_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x37x40_f32/test.json b/operators/ew_binary/minimum/minimum_1x37x40_f32/test.json index 7331a9966..89884141d 100644 --- a/operators/ew_binary/minimum/minimum_1x37x40_f32/test.json +++ b/operators/ew_binary/minimum/minimum_1x37x40_f32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x49_f32/test.json b/operators/ew_binary/minimum/minimum_1x49_f32/test.json index 9c3816067..30576d4c2 100644 --- a/operators/ew_binary/minimum/minimum_1x49_f32/test.json +++ b/operators/ew_binary/minimum/minimum_1x49_f32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x65531x2x1_f32/test.json b/operators/ew_binary/minimum/minimum_1x65531x2x1_f32/test.json index d3557bd46..21650c276 100644 --- a/operators/ew_binary/minimum/minimum_1x65531x2x1_f32/test.json +++ b/operators/ew_binary/minimum/minimum_1x65531x2x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65531, + 2, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 65531, + 2, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 65531, + 2, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65531, - 2, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 65531, - 2, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 65531, - 2, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x65539x1x1x1_i32/test.json b/operators/ew_binary/minimum/minimum_1x65539x1x1x1_i32/test.json index 2cd827639..2566a0a13 100644 --- a/operators/ew_binary/minimum/minimum_1x65539x1x1x1_i32/test.json +++ b/operators/ew_binary/minimum/minimum_1x65539x1x1x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_20_f32/test.json b/operators/ew_binary/minimum/minimum_20_f32/test.json index 4827153b7..1bf0d8efa 100644 --- a/operators/ew_binary/minimum/minimum_20_f32/test.json +++ b/operators/ew_binary/minimum/minimum_20_f32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_20_i32/test.json b/operators/ew_binary/minimum/minimum_20_i32/test.json index c09479b12..daf149f48 100644 --- a/operators/ew_binary/minimum/minimum_20_i32/test.json +++ b/operators/ew_binary/minimum/minimum_20_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_20x1x25_i32/test.json b/operators/ew_binary/minimum/minimum_20x1x25_i32/test.json index db417dd69..4dbb9ab32 100644 --- a/operators/ew_binary/minimum/minimum_20x1x25_i32/test.json +++ b/operators/ew_binary/minimum/minimum_20x1x25_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 1, + 25 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 1, - 25 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x11x4x2_f16/test.json b/operators/ew_binary/minimum/minimum_2x11x4x2_f16/test.json index 07262daba..79f938a4f 100644 --- a/operators/ew_binary/minimum/minimum_2x11x4x2_f16/test.json +++ b/operators/ew_binary/minimum/minimum_2x11x4x2_f16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x11x4x2x8_i32/test.json b/operators/ew_binary/minimum/minimum_2x11x4x2x8_i32/test.json index ea705c9d7..2028c8326 100644 --- a/operators/ew_binary/minimum/minimum_2x11x4x2x8_i32/test.json +++ b/operators/ew_binary/minimum/minimum_2x11x4x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x12x10x1_f32/test.json b/operators/ew_binary/minimum/minimum_2x12x10x1_f32/test.json index ceea3c4af..e84e56b86 100644 --- a/operators/ew_binary/minimum/minimum_2x12x10x1_f32/test.json +++ b/operators/ew_binary/minimum/minimum_2x12x10x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x12x10x1_i32/test.json b/operators/ew_binary/minimum/minimum_2x12x10x1_i32/test.json index b04c493ec..844f62d2b 100644 --- a/operators/ew_binary/minimum/minimum_2x12x10x1_i32/test.json +++ b/operators/ew_binary/minimum/minimum_2x12x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x9x14x1x13_bf16/test.json b/operators/ew_binary/minimum/minimum_2x9x14x1x13_bf16/test.json index 3d5b71671..0bed99ff3 100644 --- a/operators/ew_binary/minimum/minimum_2x9x14x1x13_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_2x9x14x1x13_bf16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 14, + 1, + 13 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 14, - 1, - 13 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_36_bf16/test.json b/operators/ew_binary/minimum/minimum_36_bf16/test.json index ea8d91653..df27a9554 100644 --- a/operators/ew_binary/minimum/minimum_36_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_36_bf16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_41x62_f16/test.json b/operators/ew_binary/minimum/minimum_41x62_f16/test.json index 289928b65..bbf248bfa 100644 --- a/operators/ew_binary/minimum/minimum_41x62_f16/test.json +++ b/operators/ew_binary/minimum/minimum_41x62_f16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_47x1_i32/test.json b/operators/ew_binary/minimum/minimum_47x1_i32/test.json index 069f899fb..c2dcdd936 100644 --- a/operators/ew_binary/minimum/minimum_47x1_i32/test.json +++ b/operators/ew_binary/minimum/minimum_47x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 47, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 47, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_50x53_bf16/test.json b/operators/ew_binary/minimum/minimum_50x53_bf16/test.json index 5704c2173..6c9fa9f04 100644 --- a/operators/ew_binary/minimum/minimum_50x53_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_50x53_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_60x53x1_f16/test.json b/operators/ew_binary/minimum/minimum_60x53x1_f16/test.json index 41a8dacdc..c6629d309 100644 --- a/operators/ew_binary/minimum/minimum_60x53x1_f16/test.json +++ b/operators/ew_binary/minimum/minimum_60x53x1_f16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_11x2_bf16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_11x2_bf16/test.json index f4e00ed67..20eb05f08 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_11x2_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_11x2_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 2 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 2 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 11, + 2 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 2 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 2 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 11, - 2 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_12_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_12_i32/test.json index 24589113c..6bb22efb9 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_12_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json index e90839913..fadf2eec8 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_13x2_i32/test.json index 4ba0de1b6..8cd264965 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json index 3cb0e738e..a6c0ff082 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 11, + 1, + 12, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 11, - 1, - 12, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_2_f16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_2_f16/test.json index 5dd222d25..20b5b9d71 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_2_f16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_2_f16/test.json @@ -5,52 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json index e53f9dcaf..8f0db983c 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_14x11x12_i4/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_14x11x12_i4/test.json index b038279b0..30ee4fe3f 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_14x11x12_i4/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_14x11x12_i4/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 14, + 11, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 14, - 11, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json index c09589641..60a8b4da9 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json @@ -5,61 +5,66 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_11x12_f32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_11x12_f32/test.json index bd6f8ae97..0d4e39895 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_11x12_f32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_11x12_f32/test.json @@ -5,54 +5,59 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 12 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 12 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 11, + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 12 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 12 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 11, - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_12_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_12_i32/test.json index 4d347943d..e7ae2e019 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json index 1b1b87229..73138e393 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 5, + 14 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 5, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 13, + 5, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 5, - 14 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 5, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 13, - 5, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_12x10x1x13x9_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_12x10x1x13x9_i8_perm0_shift0/test.json index 8bec616c8..ca76709d5 100644 --- a/operators/ew_binary/mul/mul_12x10x1x13x9_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_12x10x1x13x9_i8_perm0_shift0/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 10, + 1, + 13, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 12, + 10, + 7, + 13, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12, + 10, + 7, + 13, + 9 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 10, - 1, - 13, - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 12, - 10, - 7, - 13, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12, - 10, - 7, - 13, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm0_shift26/test.json b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm0_shift26/test.json index b6dbaa52b..4d61d07fd 100644 --- a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm0_shift26/test.json +++ b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm0_shift26/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 26 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 26 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm1_shift14/test.json b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm1_shift14/test.json index 2335358a2..0f5344d84 100644 --- a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm1_shift14/test.json +++ b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm1_shift14/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 14 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 14 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm2_shift16/test.json b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm2_shift16/test.json index 9bba6753f..f22ed5920 100644 --- a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm2_shift16/test.json +++ b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm2_shift16/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 16 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 16 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm3_shift11/test.json b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm3_shift11/test.json index be26e2c70..e6ef4b9f1 100644 --- a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm3_shift11/test.json +++ b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm3_shift11/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 11 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 11 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm4_shift5/test.json b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm4_shift5/test.json index 982391fee..892bfd63f 100644 --- a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm4_shift5/test.json +++ b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm4_shift5/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 5 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 5 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm5_shift29/test.json b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm5_shift29/test.json index cee7fb826..2e8fd93f4 100644 --- a/operators/ew_binary/mul/mul_12x12x11x12_i32_perm5_shift29/test.json +++ b/operators/ew_binary/mul/mul_12x12x11x12_i32_perm5_shift29/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 29 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 29 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_19x1x55_i16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_19x1x55_i16_perm0_shift0/test.json index eee364bc8..772fad26d 100644 --- a/operators/ew_binary/mul/mul_19x1x55_i16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_19x1x55_i16_perm0_shift0/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 19, + 1, + 55 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 19, + 57, + 55 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 19, + 57, + 55 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 19, - 1, - 55 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 19, - 57, - 55 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 19, - 57, - 55 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1_bf16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1_bf16_perm0_shift0/test.json index 29440a9ca..d113f0e18 100644 --- a/operators/ew_binary/mul/mul_1_bf16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1_bf16_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1_i16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1_i16_perm0_shift0/test.json index 01e15e99a..dbbbae872 100644 --- a/operators/ew_binary/mul/mul_1_i16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1_i16_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm0_shift31/test.json b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm0_shift31/test.json index 133269677..fd6ce147f 100644 --- a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm0_shift31/test.json +++ b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm0_shift31/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 31 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 31 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm1_shift14/test.json b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm1_shift14/test.json index af7a477ed..c75c65701 100644 --- a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm1_shift14/test.json +++ b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm1_shift14/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 14 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 14 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm2_shift28/test.json b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm2_shift28/test.json index edd93c043..68e9ebc3d 100644 --- a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm2_shift28/test.json +++ b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm2_shift28/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 28 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 28 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm3_shift21/test.json b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm3_shift21/test.json index b135c0d69..84a8b7260 100644 --- a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm3_shift21/test.json +++ b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm3_shift21/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 21 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 21 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm4_shift24/test.json b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm4_shift24/test.json index b2aece271..03086cb89 100644 --- a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm4_shift24/test.json +++ b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm4_shift24/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 24 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 24 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm5_shift24/test.json b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm5_shift24/test.json index b2aece271..03086cb89 100644 --- a/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm5_shift24/test.json +++ b/operators/ew_binary/mul/mul_1x10x3x12x11_i32_perm5_shift24/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 24 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 24 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 5, + 10, + 3, + 12, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 5, - 10, - 3, - 12, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x1x3x1_bf16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1x1x3x1_bf16_perm0_shift0/test.json index 3a49451ea..489be2d98 100644 --- a/operators/ew_binary/mul/mul_1x1x3x1_bf16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1x1x3x1_bf16_perm0_shift0/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 3, + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 3, + 65534 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 3, + 65534 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 3, - 1 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 3, - 65534 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 3, - 65534 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x2x1x65541x1_bf16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1x2x1x65541x1_bf16_perm0_shift0/test.json index 6c61ce55f..8c1d2e732 100644 --- a/operators/ew_binary/mul/mul_1x2x1x65541x1_bf16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1x2x1x65541x1_bf16_perm0_shift0/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 65541, + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 1, + 65541, + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65541, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 1, - 65541, - 1 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 1, - 65541, - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65541, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x2x65500x1_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1x2x65500x1_i8_perm0_shift0/test.json index e08d825f2..a9bf0f664 100644 --- a/operators/ew_binary/mul/mul_1x2x65500x1_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1x2x65500x1_i8_perm0_shift0/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65500, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65500, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65500, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65500, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65500, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65500, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x37x37_f32_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1x37x37_f32_perm0_shift0/test.json index 13113480a..703f2fc9d 100644 --- a/operators/ew_binary/mul/mul_1x37x37_f32_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1x37x37_f32_perm0_shift0/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x37x40_f16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1x37x40_f16_perm0_shift0/test.json index e6822ad39..1deedf085 100644 --- a/operators/ew_binary/mul/mul_1x37x40_f16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1x37x40_f16_perm0_shift0/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x49_f16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1x49_f16_perm0_shift0/test.json index 6c1b7735b..049f0cb91 100644 --- a/operators/ew_binary/mul/mul_1x49_f16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1x49_f16_perm0_shift0/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x52x49_i32_perm0_shift31/test.json b/operators/ew_binary/mul/mul_1x52x49_i32_perm0_shift31/test.json index 5ef5adc49..8d2d99aff 100644 --- a/operators/ew_binary/mul/mul_1x52x49_i32_perm0_shift31/test.json +++ b/operators/ew_binary/mul/mul_1x52x49_i32_perm0_shift31/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 31 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 31 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 52, + 49 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 52, - 49 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x52x49_i32_perm1_shift14/test.json b/operators/ew_binary/mul/mul_1x52x49_i32_perm1_shift14/test.json index 8c073f4fb..2ae60f50c 100644 --- a/operators/ew_binary/mul/mul_1x52x49_i32_perm1_shift14/test.json +++ b/operators/ew_binary/mul/mul_1x52x49_i32_perm1_shift14/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 14 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 14 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 52, + 49 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 52, - 49 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x52x49_i32_perm2_shift28/test.json b/operators/ew_binary/mul/mul_1x52x49_i32_perm2_shift28/test.json index 0a971a04f..178d60573 100644 --- a/operators/ew_binary/mul/mul_1x52x49_i32_perm2_shift28/test.json +++ b/operators/ew_binary/mul/mul_1x52x49_i32_perm2_shift28/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 28 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 28 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 52, + 49 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 52, - 49 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x52x49_i32_perm3_shift21/test.json b/operators/ew_binary/mul/mul_1x52x49_i32_perm3_shift21/test.json index 6a681d0e0..a1f117d4d 100644 --- a/operators/ew_binary/mul/mul_1x52x49_i32_perm3_shift21/test.json +++ b/operators/ew_binary/mul/mul_1x52x49_i32_perm3_shift21/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 21 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 21 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 52, + 49 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 52, - 49 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x52x49_i32_perm4_shift24/test.json b/operators/ew_binary/mul/mul_1x52x49_i32_perm4_shift24/test.json index 35daf2f4c..bc11dfd4f 100644 --- a/operators/ew_binary/mul/mul_1x52x49_i32_perm4_shift24/test.json +++ b/operators/ew_binary/mul/mul_1x52x49_i32_perm4_shift24/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 24 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 24 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 52, + 49 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 52, - 49 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x52x49_i32_perm5_shift24/test.json b/operators/ew_binary/mul/mul_1x52x49_i32_perm5_shift24/test.json index 35daf2f4c..bc11dfd4f 100644 --- a/operators/ew_binary/mul/mul_1x52x49_i32_perm5_shift24/test.json +++ b/operators/ew_binary/mul/mul_1x52x49_i32_perm5_shift24/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 24 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 24 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 52, + 49 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23, + 52, + 49 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 52, - 49 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23, - 52, - 49 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_1x68539x1x1x1_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_1x68539x1x1x1_i8_perm0_shift0/test.json index 17802e57e..8d2d10087 100644 --- a/operators/ew_binary/mul/mul_1x68539x1x1x1_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_1x68539x1x1x1_i8_perm0_shift0/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 68539, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 68539, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 68539, + 1, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 68539, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 68539, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 68539, - 1, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_20_f16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_20_f16_perm0_shift0/test.json index 827bd72d4..61cb51e28 100644 --- a/operators/ew_binary/mul/mul_20_f16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_20_f16_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json index 3b80b9a64..f97d24a7e 100644 --- a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_2x11x4x2_i16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_2x11x4x2_i16_perm0_shift0/test.json index 44b035bd7..16c61f1cd 100644 --- a/operators/ew_binary/mul/mul_2x11x4x2_i16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_2x11x4x2_i16_perm0_shift0/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_2x11x4x2x8_f16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_2x11x4x2x8_f16_perm0_shift0/test.json index b2be384c4..b027010a8 100644 --- a/operators/ew_binary/mul/mul_2x11x4x2x8_f16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_2x11x4x2x8_f16_perm0_shift0/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_2x12x10x1_f16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_2x12x10x1_f16_perm0_shift0/test.json index 74c51d512..3affc1b4f 100644 --- a/operators/ew_binary/mul/mul_2x12x10x1_f16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_2x12x10x1_f16_perm0_shift0/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_2x12x10x1_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_2x12x10x1_i8_perm0_shift0/test.json index f49274d68..8a5489fd7 100644 --- a/operators/ew_binary/mul/mul_2x12x10x1_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_2x12x10x1_i8_perm0_shift0/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_36_f32_perm0_shift0/test.json b/operators/ew_binary/mul/mul_36_f32_perm0_shift0/test.json index 7d386cc79..dd652e372 100644 --- a/operators/ew_binary/mul/mul_36_f32_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_36_f32_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_36_i32_perm0_shift2/test.json b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/test.json index 320b2a667..7119b32f2 100644 --- a/operators/ew_binary/mul/mul_36_i32_perm0_shift2/test.json +++ b/operators/ew_binary/mul/mul_36_i32_perm0_shift2/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 2 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 2 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_36_i32_perm1_shift22/test.json b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/test.json index 51189f0b8..193146dc1 100644 --- a/operators/ew_binary/mul/mul_36_i32_perm1_shift22/test.json +++ b/operators/ew_binary/mul/mul_36_i32_perm1_shift22/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 22 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 22 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_36_i32_perm2_shift6/test.json b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/test.json index 4f26c8118..2bf84fb2f 100644 --- a/operators/ew_binary/mul/mul_36_i32_perm2_shift6/test.json +++ b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 6 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 6 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_36_i32_perm3_shift3/test.json b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/test.json index 6442acc0a..1a597d0db 100644 --- a/operators/ew_binary/mul/mul_36_i32_perm3_shift3/test.json +++ b/operators/ew_binary/mul/mul_36_i32_perm3_shift3/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 3 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 3 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_36_i32_perm4_shift16/test.json b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/test.json index 3de9ce85c..62c063486 100644 --- a/operators/ew_binary/mul/mul_36_i32_perm4_shift16/test.json +++ b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 16 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 16 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_36_i32_perm5_shift31/test.json b/operators/ew_binary/mul/mul_36_i32_perm5_shift31/test.json index a98eda32b..2e5a04de9 100644 --- a/operators/ew_binary/mul/mul_36_i32_perm5_shift31/test.json +++ b/operators/ew_binary/mul/mul_36_i32_perm5_shift31/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 31 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 31 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_37x26x20_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_37x26x20_i8_perm0_shift0/test.json index 98df9b7d3..705746f09 100644 --- a/operators/ew_binary/mul/mul_37x26x20_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_37x26x20_i8_perm0_shift0/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 37, + 26, + 20 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 37, + 26, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 37, + 26, + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 37, - 26, - 20 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 37, - 26, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 37, - 26, - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_40x1_i32_perm0_shift25/test.json b/operators/ew_binary/mul/mul_40x1_i32_perm0_shift25/test.json index 7b4bac4b2..25e9e11ca 100644 --- a/operators/ew_binary/mul/mul_40x1_i32_perm0_shift25/test.json +++ b/operators/ew_binary/mul/mul_40x1_i32_perm0_shift25/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 25 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 25 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 40, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 40, + 33 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 40, + 33 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 40, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 40, - 33 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 40, - 33 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_40x1_i32_perm1_shift20/test.json b/operators/ew_binary/mul/mul_40x1_i32_perm1_shift20/test.json index 2c111167e..57bb5bec2 100644 --- a/operators/ew_binary/mul/mul_40x1_i32_perm1_shift20/test.json +++ b/operators/ew_binary/mul/mul_40x1_i32_perm1_shift20/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 20 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 20 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 40, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 40, + 33 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 40, + 33 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 40, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 40, - 33 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 40, - 33 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_40x1_i32_perm2_shift12/test.json b/operators/ew_binary/mul/mul_40x1_i32_perm2_shift12/test.json index 927110788..cb4682c22 100644 --- a/operators/ew_binary/mul/mul_40x1_i32_perm2_shift12/test.json +++ b/operators/ew_binary/mul/mul_40x1_i32_perm2_shift12/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 12 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 12 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 40, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 40, + 33 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 40, + 33 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 40, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 40, - 33 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 40, - 33 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_40x1_i32_perm3_shift26/test.json b/operators/ew_binary/mul/mul_40x1_i32_perm3_shift26/test.json index 5a7fa7ae0..c15630762 100644 --- a/operators/ew_binary/mul/mul_40x1_i32_perm3_shift26/test.json +++ b/operators/ew_binary/mul/mul_40x1_i32_perm3_shift26/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 26 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 26 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 40, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 40, + 33 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 40, + 33 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 40, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 40, - 33 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 40, - 33 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_40x1_i32_perm4_shift17/test.json b/operators/ew_binary/mul/mul_40x1_i32_perm4_shift17/test.json index 7469f4c71..191aafc7e 100644 --- a/operators/ew_binary/mul/mul_40x1_i32_perm4_shift17/test.json +++ b/operators/ew_binary/mul/mul_40x1_i32_perm4_shift17/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 17 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 17 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 40, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 40, + 33 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 40, + 33 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 40, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 40, - 33 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 40, - 33 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_40x1_i32_perm5_shift14/test.json b/operators/ew_binary/mul/mul_40x1_i32_perm5_shift14/test.json index f12f061a8..11a0d829a 100644 --- a/operators/ew_binary/mul/mul_40x1_i32_perm5_shift14/test.json +++ b/operators/ew_binary/mul/mul_40x1_i32_perm5_shift14/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 14 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 14 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 40, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 40, + 33 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 40, + 33 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 40, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 40, - 33 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 40, - 33 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_40x22_i16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_40x22_i16_perm0_shift0/test.json index 95f6086e9..eaf612960 100644 --- a/operators/ew_binary/mul/mul_40x22_i16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_40x22_i16_perm0_shift0/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 40, + 22 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1, + 22 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 40, + 22 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 40, - 22 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1, - 22 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 40, - 22 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_41x62_bf16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_41x62_bf16_perm0_shift0/test.json index ebbe61445..32dde3516 100644 --- a/operators/ew_binary/mul/mul_41x62_bf16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_41x62_bf16_perm0_shift0/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_4x2x9x14x1_i16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_4x2x9x14x1_i16_perm0_shift0/test.json index 26d6aae0e..bdbd27fe7 100644 --- a/operators/ew_binary/mul/mul_4x2x9x14x1_i16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_4x2x9x14x1_i16_perm0_shift0/test.json @@ -5,16 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,48 +70,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_50x53_f32_perm0_shift0/test.json b/operators/ew_binary/mul/mul_50x53_f32_perm0_shift0/test.json index 4375183fc..6dd23ddca 100644 --- a/operators/ew_binary/mul/mul_50x53_f32_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_50x53_f32_perm0_shift0/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_51x52_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_51x52_i8_perm0_shift0/test.json index ba18ddde0..23f5973da 100644 --- a/operators/ew_binary/mul/mul_51x52_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_51x52_i8_perm0_shift0/test.json @@ -5,16 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 51, + 52 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 51, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 51, + 52 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,39 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 51, - 52 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 51, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 51, - 52 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_60x53x1_bf16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_60x53x1_bf16_perm0_shift0/test.json index 4f3f4bb18..67ae9f01e 100644 --- a/operators/ew_binary/mul/mul_60x53x1_bf16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_60x53x1_bf16_perm0_shift0/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_DimensionMismatch_11_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_DimensionMismatch_11_i8_perm0_shift0/test.json index 6058d19e0..ddd94ab74 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_DimensionMismatch_11_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_DimensionMismatch_11_i8_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_DimensionMismatch_1x2x6x8_f32_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_DimensionMismatch_1x2x6x8_f32_perm0_shift0/test.json index 73a167169..6a5a96ca9 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_DimensionMismatch_1x2x6x8_f32_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_DimensionMismatch_1x2x6x8_f32_perm0_shift0/test.json @@ -5,16 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 6, + 8 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 2, + 2, + 6, + 8 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 6, + 8 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -23,45 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 6, - 8 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 2, - 2, - 6, - 8 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 6, - 8 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_RankMismatch_13_i16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_RankMismatch_13_i16_perm0_shift0/test.json index fe746704d..45c620287 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_RankMismatch_13_i16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_RankMismatch_13_i16_perm0_shift0/test.json @@ -5,16 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 13, + 12 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 13 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,37 +59,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 13, - 12 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 13 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_RankMismatch_1x1_f16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_RankMismatch_1x1_f16_perm0_shift0/test.json index 4c56b9ebe..97f533130 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_RankMismatch_1x1_f16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_RankMismatch_1x1_f16_perm0_shift0/test.json @@ -5,16 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 7 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -23,40 +62,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 7 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongInputList_12_i32_perm0_shift25/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongInputList_12_i32_perm0_shift25/test.json index e6cbce675..1d6f48479 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_WrongInputList_12_i32_perm0_shift25/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongInputList_12_i32_perm0_shift25/test.json @@ -5,55 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 25 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 25 + }, + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongInputList_4x2_f16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongInputList_4x2_f16_perm0_shift0/test.json index b007ebcf1..dc712e5dc 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_WrongInputList_4x2_f16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongInputList_4x2_f16_perm0_shift0/test.json @@ -5,58 +5,63 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 4, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 4, + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 4, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 4, - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongInputType_10_i48_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongInputType_10_i48_perm0_shift0/test.json index 19bd13cd6..862e68e90 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_WrongInputType_10_i48_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongInputType_10_i48_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongInputType_1_b_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongInputType_1_b_perm0_shift0/test.json index 74e9a4372..c05404010 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_WrongInputType_1_b_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongInputType_1_b_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputList_11x7_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputList_11x7_i8_perm0_shift0/test.json index 7e19d7696..e4b0ba4d7 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputList_11x7_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputList_11x7_i8_perm0_shift0/test.json @@ -5,57 +5,62 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 11, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 11, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 11, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputList_1x3x8x1_bf16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputList_1x3x8x1_bf16_perm0_shift0/test.json index 7f2f7368c..c9d9baec2 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputList_1x3x8x1_bf16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputList_1x3x8x1_bf16_perm0_shift0/test.json @@ -5,63 +5,68 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 3, + 8, + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 3, + 8, + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 3, + 8, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 3, - 8, - 1 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 3, - 8, - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 3, - 8, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_10_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_10_i8_perm0_shift0/test.json index 35507d54c..6d78c7130 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_10_i8_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_10_i8_perm0_shift0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/test.json index efb1cbafe..040e40090 100644 --- a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/test.json +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/test.json @@ -5,16 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MUL", - attribute_type: "MulAttribute", - attribute: { - shift: 0 - }, + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 2 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 5, + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 5, + 2 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -23,42 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 2 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 5, - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 5, - 2 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_1_f16/test.json b/operators/ew_binary/pow/pow_1_f16/test.json index 344d38743..33e2539e7 100644 --- a/operators/ew_binary/pow/pow_1_f16/test.json +++ b/operators/ew_binary/pow/pow_1_f16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_1x37x37_bf16/test.json b/operators/ew_binary/pow/pow_1x37x37_bf16/test.json index 6485477e8..0e2ea146c 100644 --- a/operators/ew_binary/pow/pow_1x37x37_bf16/test.json +++ b/operators/ew_binary/pow/pow_1x37x37_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_1x37x40_f32/test.json b/operators/ew_binary/pow/pow_1x37x40_f32/test.json index c69a14698..6df80255a 100644 --- a/operators/ew_binary/pow/pow_1x37x40_f32/test.json +++ b/operators/ew_binary/pow/pow_1x37x40_f32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_1x49_f32/test.json b/operators/ew_binary/pow/pow_1x49_f32/test.json index 0c1615bfe..0de4fafca 100644 --- a/operators/ew_binary/pow/pow_1x49_f32/test.json +++ b/operators/ew_binary/pow/pow_1x49_f32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_20_f32/test.json b/operators/ew_binary/pow/pow_20_f32/test.json index d773b1f32..434b7877f 100644 --- a/operators/ew_binary/pow/pow_20_f32/test.json +++ b/operators/ew_binary/pow/pow_20_f32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_2x11x4x2x8_f16/test.json b/operators/ew_binary/pow/pow_2x11x4x2x8_f16/test.json index dc44bdab2..424119338 100644 --- a/operators/ew_binary/pow/pow_2x11x4x2x8_f16/test.json +++ b/operators/ew_binary/pow/pow_2x11x4x2x8_f16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_2x12x10x1_f16/test.json b/operators/ew_binary/pow/pow_2x12x10x1_f16/test.json index b858fa6b0..1c9d460c8 100644 --- a/operators/ew_binary/pow/pow_2x12x10x1_f16/test.json +++ b/operators/ew_binary/pow/pow_2x12x10x1_f16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_2x65541x1x1x1_bf16/test.json b/operators/ew_binary/pow/pow_2x65541x1x1x1_bf16/test.json index 3bbbeae08..a34349cda 100644 --- a/operators/ew_binary/pow/pow_2x65541x1x1x1_bf16/test.json +++ b/operators/ew_binary/pow/pow_2x65541x1x1x1_bf16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65541, + 1, + 1, + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 2, + 65541, + 1, + 1, + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 65541, + 1, + 1, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65541, - 1, - 1, - 1 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 2, - 65541, - 1, - 1, - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 2, - 65541, - 1, - 1, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_36_bf16/test.json b/operators/ew_binary/pow/pow_36_bf16/test.json index 8e8b89ace..9b5860551 100644 --- a/operators/ew_binary/pow/pow_36_bf16/test.json +++ b/operators/ew_binary/pow/pow_36_bf16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_41x62_f16/test.json b/operators/ew_binary/pow/pow_41x62_f16/test.json index c4775b7b2..4029dbd97 100644 --- a/operators/ew_binary/pow/pow_41x62_f16/test.json +++ b/operators/ew_binary/pow/pow_41x62_f16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_50x53_bf16/test.json b/operators/ew_binary/pow/pow_50x53_bf16/test.json index 43717f67c..a7dfb7fee 100644 --- a/operators/ew_binary/pow/pow_50x53_bf16/test.json +++ b/operators/ew_binary/pow/pow_50x53_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_60x53x1_f16/test.json b/operators/ew_binary/pow/pow_60x53x1_f16/test.json index b82fb698b..d81cebbd0 100644 --- a/operators/ew_binary/pow/pow_60x53x1_f16/test.json +++ b/operators/ew_binary/pow/pow_60x53x1_f16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_65534x3x1x1_bf16/test.json b/operators/ew_binary/pow/pow_65534x3x1x1_bf16/test.json index 02f202afc..93bec5dee 100644 --- a/operators/ew_binary/pow/pow_65534x3x1x1_bf16/test.json +++ b/operators/ew_binary/pow/pow_65534x3x1x1_bf16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65534, + 3, + 1, + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 65534, + 3, + 1, + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 65534, + 3, + 1, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65534, - 3, - 1, - 1 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 65534, - 3, - 1, - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 65534, - 3, - 1, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_ERRORIF_DimensionMismatch_12_f32/test.json b/operators/ew_binary/pow/pow_ERRORIF_DimensionMismatch_12_f32/test.json index 01c7f1fb9..7189b0c75 100644 --- a/operators/ew_binary/pow/pow_ERRORIF_DimensionMismatch_12_f32/test.json +++ b/operators/ew_binary/pow/pow_ERRORIF_DimensionMismatch_12_f32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json b/operators/ew_binary/pow/pow_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json index 61583b934..8e4d515fc 100644 --- a/operators/ew_binary/pow/pow_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json +++ b/operators/ew_binary/pow/pow_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/test.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/test.json index 36e698a8c..d5d22146a 100644 --- a/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/test.json +++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputList_11_f16/test.json @@ -5,52 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "FP16" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/test.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/test.json index c2857afac..1781da4b8 100644 --- a/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/test.json +++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/test.json b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/test.json index 7092736bb..ebf3016f6 100644 --- a/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/test.json +++ b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongOutputType_10x2x9_f32/test.json b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputType_10x2x9_f32/test.json index c8b9cf647..cf9d0ca3c 100644 --- a/operators/ew_binary/pow/pow_ERRORIF_WrongOutputType_10x2x9_f32/test.json +++ b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputType_10x2x9_f32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "POW", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 9 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 10, - 1, - 9 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_1_f16/test.json b/operators/ew_binary/sub/sub_1_f16/test.json index 4fc6ab048..56a1484ec 100644 --- a/operators/ew_binary/sub/sub_1_f16/test.json +++ b/operators/ew_binary/sub/sub_1_f16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_1x1x2x1x65545_f32/test.json b/operators/ew_binary/sub/sub_1x1x2x1x65545_f32/test.json index 468b4773b..8eb1af343 100644 --- a/operators/ew_binary/sub/sub_1x1x2x1x65545_f32/test.json +++ b/operators/ew_binary/sub/sub_1x1x2x1x65545_f32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 2, + 1, + 65545 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 1, + 65545 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 2, + 1, + 65545 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 2, - 1, - 65545 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 1, - 65545 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 2, - 1, - 65545 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_1x1x65533x1_f32/test.json b/operators/ew_binary/sub/sub_1x1x65533x1_f32/test.json index 4218349c8..79387eb4c 100644 --- a/operators/ew_binary/sub/sub_1x1x65533x1_f32/test.json +++ b/operators/ew_binary/sub/sub_1x1x65533x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65533, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 65533, + 3 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65533, + 3 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65533, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 65533, - 3 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65533, - 3 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_1x2x65533x1_i32/test.json b/operators/ew_binary/sub/sub_1x2x65533x1_i32/test.json index a7af4f545..daf261818 100644 --- a/operators/ew_binary/sub/sub_1x2x65533x1_i32/test.json +++ b/operators/ew_binary/sub/sub_1x2x65533x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_1x37x37_bf16/test.json b/operators/ew_binary/sub/sub_1x37x37_bf16/test.json index 4c40223d0..040f6195b 100644 --- a/operators/ew_binary/sub/sub_1x37x37_bf16/test.json +++ b/operators/ew_binary/sub/sub_1x37x37_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_1x37x40_f32/test.json b/operators/ew_binary/sub/sub_1x37x40_f32/test.json index 63db5fd80..a631f3f13 100644 --- a/operators/ew_binary/sub/sub_1x37x40_f32/test.json +++ b/operators/ew_binary/sub/sub_1x37x40_f32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_1x49_f32/test.json b/operators/ew_binary/sub/sub_1x49_f32/test.json index f1fc24403..3550d285d 100644 --- a/operators/ew_binary/sub/sub_1x49_f32/test.json +++ b/operators/ew_binary/sub/sub_1x49_f32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_1x65539x1x1x1_i32/test.json b/operators/ew_binary/sub/sub_1x65539x1x1x1_i32/test.json index 5247dd029..9184e4ba6 100644 --- a/operators/ew_binary/sub/sub_1x65539x1x1x1_i32/test.json +++ b/operators/ew_binary/sub/sub_1x65539x1x1x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_20_f32/test.json b/operators/ew_binary/sub/sub_20_f32/test.json index b23611e6b..7b6adcc69 100644 --- a/operators/ew_binary/sub/sub_20_f32/test.json +++ b/operators/ew_binary/sub/sub_20_f32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_20_i32/test.json b/operators/ew_binary/sub/sub_20_i32/test.json index da8b1fab6..d093b1f3d 100644 --- a/operators/ew_binary/sub/sub_20_i32/test.json +++ b/operators/ew_binary/sub/sub_20_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_20x1x25_i32/test.json b/operators/ew_binary/sub/sub_20x1x25_i32/test.json index 08337e4ad..ec4113d10 100644 --- a/operators/ew_binary/sub/sub_20x1x25_i32/test.json +++ b/operators/ew_binary/sub/sub_20x1x25_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 1, + 25 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 1, - 25 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_2x11x4x2x8_bf16/test.json b/operators/ew_binary/sub/sub_2x11x4x2x8_bf16/test.json index 2873a6b65..83a06fcae 100644 --- a/operators/ew_binary/sub/sub_2x11x4x2x8_bf16/test.json +++ b/operators/ew_binary/sub/sub_2x11x4x2x8_bf16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_2x11x4x2x8_i32/test.json b/operators/ew_binary/sub/sub_2x11x4x2x8_i32/test.json index 4fd51e68f..2735ba513 100644 --- a/operators/ew_binary/sub/sub_2x11x4x2x8_i32/test.json +++ b/operators/ew_binary/sub/sub_2x11x4x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json b/operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json index b7abe6659..e6c5549fa 100644 --- a/operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json +++ b/operators/ew_binary/sub/sub_2x12x10x1_bf16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_2x12x10x1_i32/test.json b/operators/ew_binary/sub/sub_2x12x10x1_i32/test.json index 2fa27641e..15630166e 100644 --- a/operators/ew_binary/sub/sub_2x12x10x1_i32/test.json +++ b/operators/ew_binary/sub/sub_2x12x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_36_bf16/test.json b/operators/ew_binary/sub/sub_36_bf16/test.json index 134644445..a85c40fde 100644 --- a/operators/ew_binary/sub/sub_36_bf16/test.json +++ b/operators/ew_binary/sub/sub_36_bf16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_41x62_f16/test.json b/operators/ew_binary/sub/sub_41x62_f16/test.json index 324e1eb0a..ad0584ff1 100644 --- a/operators/ew_binary/sub/sub_41x62_f16/test.json +++ b/operators/ew_binary/sub/sub_41x62_f16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_47x1_i32/test.json b/operators/ew_binary/sub/sub_47x1_i32/test.json index 59920294a..fb233f5e4 100644 --- a/operators/ew_binary/sub/sub_47x1_i32/test.json +++ b/operators/ew_binary/sub/sub_47x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 47, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 47, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_50x53_bf16/test.json b/operators/ew_binary/sub/sub_50x53_bf16/test.json index 9b459412d..cc6a1668c 100644 --- a/operators/ew_binary/sub/sub_50x53_bf16/test.json +++ b/operators/ew_binary/sub/sub_50x53_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_60x53x1_f16/test.json b/operators/ew_binary/sub/sub_60x53x1_f16/test.json index e7711a7c5..93e009a02 100644 --- a/operators/ew_binary/sub/sub_60x53x1_f16/test.json +++ b/operators/ew_binary/sub/sub_60x53x1_f16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_DimensionMismatch_11x2_bf16/test.json b/operators/ew_binary/sub/sub_ERRORIF_DimensionMismatch_11x2_bf16/test.json index c6912a270..86235e815 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_DimensionMismatch_11x2_bf16/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_DimensionMismatch_11x2_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 2 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 2 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 11, + 2 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 2 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 2 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 11, - 2 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_DimensionMismatch_12_i32/test.json b/operators/ew_binary/sub/sub_ERRORIF_DimensionMismatch_12_i32/test.json index 16e1bc345..f2b5a13bd 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_DimensionMismatch_12_i32/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_DimensionMismatch_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json b/operators/ew_binary/sub/sub_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json index c01a5787d..f7841b520 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/ew_binary/sub/sub_ERRORIF_RankMismatch_13x2_i32/test.json index cd896efbc..e65d49a3b 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongInputList_11x5x12x9_i32/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongInputList_11x5x12x9_i32/test.json index f4d9a018f..6abb9c576 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_WrongInputList_11x5x12x9_i32/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_WrongInputList_11x5x12x9_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 11, + 1, + 12, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 11, - 1, - 12, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongInputList_2_f16/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongInputList_2_f16/test.json index 351358351..ec286659c 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_WrongInputList_2_f16/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_WrongInputList_2_f16/test.json @@ -5,52 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongInputType_11x10x3_i16/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongInputType_11x10x3_i16/test.json index 35689ecf0..341ac6210 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_WrongInputType_11x10x3_i16/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_WrongInputType_11x10x3_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongInputType_14x11x12_i4/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongInputType_14x11x12_i4/test.json index 1949a8290..d38c18f47 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_WrongInputType_14x11x12_i4/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_WrongInputType_14x11x12_i4/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 14, + 11, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 14, - 11, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json index 223cadb18..ba0e17f6b 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json @@ -5,61 +5,66 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputList_11x12_f32/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputList_11x12_f32/test.json index d303e5d50..22bfd7681 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputList_11x12_f32/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputList_11x12_f32/test.json @@ -5,54 +5,59 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 12 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 12 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 11, + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 12 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 12 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 11, - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_12_i32/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_12_i32/test.json index 14ff02e5f..0bb04ef5f 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/test.json index cdf96e209..c42a7d369 100644 --- a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/test.json +++ b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "SUB", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 5, + 14 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 5, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 13, + 5, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 5, - 14 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 5, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 13, - 5, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_12x3x5x14_i16/test.json b/operators/ew_binary/table/table_12x3x5x14_i16/test.json index 2dae869fc..c52f50281 100644 --- a/operators/ew_binary/table/table_12x3x5x14_i16/test.json +++ b/operators/ew_binary/table/table_12x3x5x14_i16/test.json @@ -5,530 +5,563 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - 32091, - 0, - 5312, - 0, - -3471, - -1, - -10036, - -1, - 7369, - 0, - 5958, - 0, - -13452, - -1, - -31274, - -1, - -22840, - -1, - 9927, - 0, - -5364, - -1, - -1160, - -1, - -2156, - -1, - 18529, - 0, - -14239, - -1, - -27347, - -1, - -14691, - -1, - -875, - -1, - 11214, - 0, - -610, - -1, - -3856, - -1, - 28693, - 0, - -4075, - -1, - 4700, - 0, - 2768, - 0, - -1738, - -1, - 20158, - 0, - -12610, - -1, - 20157, - 0, - -11039, - -1, - 2949, - 0, - 1354, - 0, - 22923, - 0, - -4004, - -1, - -14120, - -1, - -31352, - -1, - -8934, - -1, - 21383, - 0, - -11385, - -1, - 21382, - 0, - 2806, - 0, - -23577, - -1, - -12965, - -1, - 3541, - 0, - -12079, - -1, - -25653, - -1, - 7114, - 0, - 11287, - 0, - -21481, - -1, - -14338, - -1, - -16786, - -1, - 10447, - 0, - 15092, - 0, - 14876, - 0, - 28754, - 0, - 17606, - 0, - -11752, - -1, - -25708, - -1, - 7059, - 0, - 27263, - 0, - 31139, - 0, - -1629, - -1, - -17272, - -1, - -30317, - -1, - -23511, - -1, - 3594, - 0, - 3067, - 0, - -8460, - -1, - -12455, - -1, - 20312, - 0, - -2620, - -1, - 20201, - 0, - 30357, - 0, - -2411, - -1, - -19482, - -1, - 13285, - 0, - 8836, - 0, - -13703, - -1, - 7986, - 0, - 986, - 0, - 26576, - 0, - -6192, - -1, - 26575, - 0, - 28576, - 0, - -4192, - -1, - -21981, - -1, - 2172, - 0, - -29825, - -1, - -13186, - -1, - -4254, - -1, - 28513, - 0, - 32268, - 0, - -500, - -1, - 25668, - 0, - -7100, - -1, - 16292, - 0, - 22652, - 0, - 25610, - 0, - -7158, - -1, - 25609, - 0, - -7159, - -1, - 1235, - 0, - -1996, - -1, - -12064, - -1, - -31319, - -1, - 1448, - 0, - -10776, - -1, - 10594, - 0, - -5884, - -1, - -8280, - -1, - 24487, - 0, - -8281, - -1, - 15506, - 0, - 16173, - 0, - -7865, - -1, - -15568, - -1, - -32421, - -1, - 346, - 0, - 29342, - 0, - -3426, - -1, - -30677, - -1, - -24723, - -1, - -28335, - -1, - 4432, - 0, - 25684, - 0, - -7084, - -1, - 16170, - 0, - -16598, - -1, - -8703, - -1, - 6513, - 0, - 14413, - 0, - 24547, - 0, - -8221, - -1, - -19895, - -1, - -14385, - -1, - -12431, - -1, - 20336, - 0, - 18180, - 0, - -11770, - -1, - 20997, - 0, - -46, - -1, - 48, - 0, - -4346, - -1, - -23338, - -1, - 9429, - 0, - -23339, - -1, - -21347, - -1, - -17718, - -1, - -14464, - -1, - -24129, - -1, - -31591, - -1, - 1176, - 0, - 30756, - 0, - -2012, - -1, - -13335, - -1, - 414, - 0, - 28016, - 0, - 12731, - 0, - 17444, - 0, - 5316, - 0, - -5438, - -1, - -19676, - -1, - 13091, - 0, - 19931, - 0, - -12837, - -1, - 14116, - 0, - -18652, - -1, - 14115, - 0, - 21361, - 0, - -11407, - -1, - -4337, - -1, - -24658, - -1, - 4409, - 0, - 28020, - 0, - -4748, - -1, - -6713, - -1, - 26054, - 0, - -6714, - -1, - -24104, - -1, - -749, - -1, - 548, - 0, - 10673, - 0, - -12207, - -1, - 20560, - 0, - 1377, - 0, - -13996, - -1, - 18771, - 0, - 27840, - 0, - -55, - -1, - -31139, - -1, - 1628, - 0, - 3617, - 0, - -23056, - -1, - 8780, - 0, - 22334, - 0, - -10434, - -1, - 14635, - 0, - -18133, - -1, - 14634, - 0, - -5301, - -1, - -32342, - -1, - 425, - 0, - -21891, - -1, - 6294, - 0, - -20876, - -1, - 11891, - 0, - 15618, - 0, - 19946, - 0, - -4452, - -1, - -2138, - -1, - 8801, - 0, - 18662, - 0, - 22739, - 0, - -10029, - -1, - 10719, - 0, - -22049, - -1, - -13899, - -1, - 18868, - 0, - -13900, - -1, - 18867, - 0, - -2425, - -1, - -17522, - -1, - -10863, - -1, - 2016, - 0, - 17376, - 0, - 6947, - 0, - 28391, - 0, - 24100, - 0, - 16603, - 0, - 6757, - 0, - -13773, - -1, - -5730, - -1, - -24977, - -1, - -8246, - -1, - 24521, - 0, - -4858, - -1, - -25315, - -1, - 7452, - 0, - 30317, - 0, - 24083, - 0, - -8685, - -1, - -3022, - -1, - 2032, - 0, - -16526, - -1, - -15160, - -1, - -17259, - -1, - 15508, - 0, - 16122, - 0, - 22338, - 0, - 20746, - 0, - 30090, - 0, - -2678, - -1, - 25010, - 0, - -7758, - -1, - -1611, - -1, - 6188, - 0, - -9316 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + 32091, + 0, + 5312, + 0, + -3471, + -1, + -10036, + -1, + 7369, + 0, + 5958, + 0, + -13452, + -1, + -31274, + -1, + -22840, + -1, + 9927, + 0, + -5364, + -1, + -1160, + -1, + -2156, + -1, + 18529, + 0, + -14239, + -1, + -27347, + -1, + -14691, + -1, + -875, + -1, + 11214, + 0, + -610, + -1, + -3856, + -1, + 28693, + 0, + -4075, + -1, + 4700, + 0, + 2768, + 0, + -1738, + -1, + 20158, + 0, + -12610, + -1, + 20157, + 0, + -11039, + -1, + 2949, + 0, + 1354, + 0, + 22923, + 0, + -4004, + -1, + -14120, + -1, + -31352, + -1, + -8934, + -1, + 21383, + 0, + -11385, + -1, + 21382, + 0, + 2806, + 0, + -23577, + -1, + -12965, + -1, + 3541, + 0, + -12079, + -1, + -25653, + -1, + 7114, + 0, + 11287, + 0, + -21481, + -1, + -14338, + -1, + -16786, + -1, + 10447, + 0, + 15092, + 0, + 14876, + 0, + 28754, + 0, + 17606, + 0, + -11752, + -1, + -25708, + -1, + 7059, + 0, + 27263, + 0, + 31139, + 0, + -1629, + -1, + -17272, + -1, + -30317, + -1, + -23511, + -1, + 3594, + 0, + 3067, + 0, + -8460, + -1, + -12455, + -1, + 20312, + 0, + -2620, + -1, + 20201, + 0, + 30357, + 0, + -2411, + -1, + -19482, + -1, + 13285, + 0, + 8836, + 0, + -13703, + -1, + 7986, + 0, + 986, + 0, + 26576, + 0, + -6192, + -1, + 26575, + 0, + 28576, + 0, + -4192, + -1, + -21981, + -1, + 2172, + 0, + -29825, + -1, + -13186, + -1, + -4254, + -1, + 28513, + 0, + 32268, + 0, + -500, + -1, + 25668, + 0, + -7100, + -1, + 16292, + 0, + 22652, + 0, + 25610, + 0, + -7158, + -1, + 25609, + 0, + -7159, + -1, + 1235, + 0, + -1996, + -1, + -12064, + -1, + -31319, + -1, + 1448, + 0, + -10776, + -1, + 10594, + 0, + -5884, + -1, + -8280, + -1, + 24487, + 0, + -8281, + -1, + 15506, + 0, + 16173, + 0, + -7865, + -1, + -15568, + -1, + -32421, + -1, + 346, + 0, + 29342, + 0, + -3426, + -1, + -30677, + -1, + -24723, + -1, + -28335, + -1, + 4432, + 0, + 25684, + 0, + -7084, + -1, + 16170, + 0, + -16598, + -1, + -8703, + -1, + 6513, + 0, + 14413, + 0, + 24547, + 0, + -8221, + -1, + -19895, + -1, + -14385, + -1, + -12431, + -1, + 20336, + 0, + 18180, + 0, + -11770, + -1, + 20997, + 0, + -46, + -1, + 48, + 0, + -4346, + -1, + -23338, + -1, + 9429, + 0, + -23339, + -1, + -21347, + -1, + -17718, + -1, + -14464, + -1, + -24129, + -1, + -31591, + -1, + 1176, + 0, + 30756, + 0, + -2012, + -1, + -13335, + -1, + 414, + 0, + 28016, + 0, + 12731, + 0, + 17444, + 0, + 5316, + 0, + -5438, + -1, + -19676, + -1, + 13091, + 0, + 19931, + 0, + -12837, + -1, + 14116, + 0, + -18652, + -1, + 14115, + 0, + 21361, + 0, + -11407, + -1, + -4337, + -1, + -24658, + -1, + 4409, + 0, + 28020, + 0, + -4748, + -1, + -6713, + -1, + 26054, + 0, + -6714, + -1, + -24104, + -1, + -749, + -1, + 548, + 0, + 10673, + 0, + -12207, + -1, + 20560, + 0, + 1377, + 0, + -13996, + -1, + 18771, + 0, + 27840, + 0, + -55, + -1, + -31139, + -1, + 1628, + 0, + 3617, + 0, + -23056, + -1, + 8780, + 0, + 22334, + 0, + -10434, + -1, + 14635, + 0, + -18133, + -1, + 14634, + 0, + -5301, + -1, + -32342, + -1, + 425, + 0, + -21891, + -1, + 6294, + 0, + -20876, + -1, + 11891, + 0, + 15618, + 0, + 19946, + 0, + -4452, + -1, + -2138, + -1, + 8801, + 0, + 18662, + 0, + 22739, + 0, + -10029, + -1, + 10719, + 0, + -22049, + -1, + -13899, + -1, + 18868, + 0, + -13900, + -1, + 18867, + 0, + -2425, + -1, + -17522, + -1, + -10863, + -1, + 2016, + 0, + 17376, + 0, + 6947, + 0, + 28391, + 0, + 24100, + 0, + 16603, + 0, + 6757, + 0, + -13773, + -1, + -5730, + -1, + -24977, + -1, + -8246, + -1, + 24521, + 0, + -4858, + -1, + -25315, + -1, + 7452, + 0, + 30317, + 0, + 24083, + 0, + -8685, + -1, + -3022, + -1, + 2032, + 0, + -16526, + -1, + -15160, + -1, + -17259, + -1, + 15508, + 0, + 16122, + 0, + 22338, + 0, + 20746, + 0, + 30090, + 0, + -2678, + -1, + 25010, + 0, + -7758, + -1, + -1611, + -1, + 6188, + 0, + -9316 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 3, + 5, + 14 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 12, + 3, + 5, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -536,34 +569,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 3, - 5, - 14 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 12, - 3, - 5, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_1x2x65536x1_i8/test.json b/operators/ew_binary/table/table_1x2x65536x1_i8/test.json index 7c36bfc6a..b5b7b1e1d 100644 --- a/operators/ew_binary/table/table_1x2x65536x1_i8/test.json +++ b/operators/ew_binary/table/table_1x2x65536x1_i8/test.json @@ -5,273 +5,306 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -106, - -1, - 70, - 0, - 39, - 0, - -16, - -1, - -18, - -1, - 91, - 0, - -106, - -1, - 50, - 0, - -77, - -1, - -104, - -1, - 6, - 0, - 121, - 0, - 60, - 0, - 66, - 0, - 55, - 0, - 73, - 0, - 3, - 0, - -96, - -1, - 86, - 0, - -13, - -1, - 0, - 0, - -34, - -1, - -82, - -1, - 109, - 0, - 72, - 0, - 36, - 0, - -25, - -1, - 82, - 0, - 11, - 0, - -15, - -1, - -13, - -1, - -70, - -1, - -105, - -1, - 13, - 0, - 99, - 0, - -112, - -1, - 91, - 0, - 83, - 0, - -58, - -1, - 33, - 0, - -86, - -1, - 66, - 0, - 51, - 0, - -38, - -1, - -111, - -1, - 120, - 0, - -14, - -1, - 100, - 0, - 45, - 0, - 71, - 0, - 66, - 0, - -79, - -1, - -35, - -1, - -9, - -1, - -1, - -1, - -117, - -1, - 11, - 0, - -89, - -1, - 62, - 0, - 46, - 0, - 108, - 0, - 62, - 0, - -35, - -1, - 119, - 0, - -23, - -1, - -45, - -1, - 103, - 0, - -34, - -1, - -109, - -1, - -8, - -1, - 75, - 0, - -80, - -1, - -10, - -1, - -95, - -1, - 47, - 0, - -7, - -1, - -44, - -1, - -70, - -1, - 16, - 0, - 43, - 0, - 112, - 0, - -17, - -1, - -87, - -1, - 85, - 0, - 33, - 0, - 51, - 0, - -104, - -1, - -49, - -1, - 68, - 0, - 85, - 0, - -17, - -1, - 78, - 0, - 87, - 0, - -29, - -1, - 101, - 0, - -55, - -1, - -67, - -1, - 46, - 0, - 35, - 0, - -93, - -1, - 85, - 0, - -77, - -1, - 78, - 0, - -127, - -1, - 75, - 0, - 73, - 0, - 71, - 0, - 42, - 0, - -8, - -1, - 52, - 0, - -58, - -1, - 71, - 0, - 14, - 0, - -11, - -1, - 1, - 0, - 17, - 0, - -119, - -1, - -93, - -1, - -66, - -1, - -99, - -1, - -16, - -1, - 43, - 0, - 39, - 0, - -8, - -1, - 90, - 0, - 16, - 0, - -108, - -1, - 67, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -106, + -1, + 70, + 0, + 39, + 0, + -16, + -1, + -18, + -1, + 91, + 0, + -106, + -1, + 50, + 0, + -77, + -1, + -104, + -1, + 6, + 0, + 121, + 0, + 60, + 0, + 66, + 0, + 55, + 0, + 73, + 0, + 3, + 0, + -96, + -1, + 86, + 0, + -13, + -1, + 0, + 0, + -34, + -1, + -82, + -1, + 109, + 0, + 72, + 0, + 36, + 0, + -25, + -1, + 82, + 0, + 11, + 0, + -15, + -1, + -13, + -1, + -70, + -1, + -105, + -1, + 13, + 0, + 99, + 0, + -112, + -1, + 91, + 0, + 83, + 0, + -58, + -1, + 33, + 0, + -86, + -1, + 66, + 0, + 51, + 0, + -38, + -1, + -111, + -1, + 120, + 0, + -14, + -1, + 100, + 0, + 45, + 0, + 71, + 0, + 66, + 0, + -79, + -1, + -35, + -1, + -9, + -1, + -1, + -1, + -117, + -1, + 11, + 0, + -89, + -1, + 62, + 0, + 46, + 0, + 108, + 0, + 62, + 0, + -35, + -1, + 119, + 0, + -23, + -1, + -45, + -1, + 103, + 0, + -34, + -1, + -109, + -1, + -8, + -1, + 75, + 0, + -80, + -1, + -10, + -1, + -95, + -1, + 47, + 0, + -7, + -1, + -44, + -1, + -70, + -1, + 16, + 0, + 43, + 0, + 112, + 0, + -17, + -1, + -87, + -1, + 85, + 0, + 33, + 0, + 51, + 0, + -104, + -1, + -49, + -1, + 68, + 0, + 85, + 0, + -17, + -1, + 78, + 0, + 87, + 0, + -29, + -1, + 101, + 0, + -55, + -1, + -67, + -1, + 46, + 0, + 35, + 0, + -93, + -1, + 85, + 0, + -77, + -1, + 78, + 0, + -127, + -1, + 75, + 0, + 73, + 0, + 71, + 0, + 42, + 0, + -8, + -1, + 52, + 0, + -58, + -1, + 71, + 0, + 14, + 0, + -11, + -1, + 1, + 0, + 17, + 0, + -119, + -1, + -93, + -1, + -66, + -1, + -99, + -1, + -16, + -1, + 43, + 0, + 39, + 0, + -8, + -1, + 90, + 0, + 16, + 0, + -108, + -1, + 67, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -279,34 +312,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_1x65537x1x1x3_i8/test.json b/operators/ew_binary/table/table_1x65537x1x1x3_i8/test.json index ded907986..ee2635478 100644 --- a/operators/ew_binary/table/table_1x65537x1x1x3_i8/test.json +++ b/operators/ew_binary/table/table_1x65537x1x1x3_i8/test.json @@ -5,273 +5,308 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - 45, - 0, - -102, - -1, - -84, - -1, - 22, - 0, - 75, - 0, - -85, - -1, - -52, - -1, - 108, - 0, - 125, - 0, - 20, - 0, - -14, - -1, - -40, - -1, - 28, - 0, - 23, - 0, - -53, - -1, - -123, - -1, - -90, - -1, - 117, - 0, - -21, - -1, - -5, - -1, - -9, - -1, - 72, - 0, - -112, - -1, - -107, - -1, - -58, - -1, - -4, - -1, - 43, - 0, - -3, - -1, - -16, - -1, - 112, - 0, - -87, - -1, - 18, - 0, - 10, - 0, - -7, - -1, - 78, - 0, - -60, - -1, - 116, - 0, - -44, - -1, - 11, - 0, - 5, - 0, - 89, - 0, - -16, - -1, - -56, - -1, - -123, - -1, - -35, - -1, - 83, - 0, - -126, - -1, - 101, - 0, - 10, - 0, - -93, - -1, - -51, - -1, - 13, - 0, - -48, - -1, - -101, - -1, - 42, - 0, - 44, - 0, - -98, - -1, - -57, - -1, - -66, - -1, - 40, - 0, - 58, - 0, - 58, - 0, - 112, - 0, - 68, - 0, - -46, - -1, - -101, - -1, - 29, - 0, - 106, - 0, - 121, - 0, - -70, - -1, - -68, - -1, - -119, - -1, - -92, - -1, - 14, - 0, - 11, - 0, - -34, - -1, - -49, - -1, - 84, - 0, - -11, - -1, - 78, - 0, - 118, - 0, - -47, - -1, - -77, - -1, - 115, - 0, - 34, - 0, - -54, - -1, - 31, - 0, - 3, - 0, - 103, - 0, - -63, - -1, - 125, - 0, - 111, - 0, - -82, - -1, - -86, - -1, - 8, - 0, - -117, - -1, - -52, - -1, - -17, - -1, - 120, - 0, - 126, - 0, - -90, - -1, - 100, - 0, - -105, - -1, - 63, - 0, - 88, - 0, - 100, - 0, - -71, - -1, - 100, - 0, - -99, - -1, - 4, - 0, - -8, - -1, - -48, - -1, - -123, - -1, - 69, - 0, - -43, - -1, - 41, - 0, - -23, - -1, - -33, - -1, - 98, - 0, - -104, - -1, - 60, - 0, - 63, - 0, - -31, - -1, - -61, - -1, - -127, - -1, - 111, - 0, - 114, - 0, - -67, - -1 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + 45, + 0, + -102, + -1, + -84, + -1, + 22, + 0, + 75, + 0, + -85, + -1, + -52, + -1, + 108, + 0, + 125, + 0, + 20, + 0, + -14, + -1, + -40, + -1, + 28, + 0, + 23, + 0, + -53, + -1, + -123, + -1, + -90, + -1, + 117, + 0, + -21, + -1, + -5, + -1, + -9, + -1, + 72, + 0, + -112, + -1, + -107, + -1, + -58, + -1, + -4, + -1, + 43, + 0, + -3, + -1, + -16, + -1, + 112, + 0, + -87, + -1, + 18, + 0, + 10, + 0, + -7, + -1, + 78, + 0, + -60, + -1, + 116, + 0, + -44, + -1, + 11, + 0, + 5, + 0, + 89, + 0, + -16, + -1, + -56, + -1, + -123, + -1, + -35, + -1, + 83, + 0, + -126, + -1, + 101, + 0, + 10, + 0, + -93, + -1, + -51, + -1, + 13, + 0, + -48, + -1, + -101, + -1, + 42, + 0, + 44, + 0, + -98, + -1, + -57, + -1, + -66, + -1, + 40, + 0, + 58, + 0, + 58, + 0, + 112, + 0, + 68, + 0, + -46, + -1, + -101, + -1, + 29, + 0, + 106, + 0, + 121, + 0, + -70, + -1, + -68, + -1, + -119, + -1, + -92, + -1, + 14, + 0, + 11, + 0, + -34, + -1, + -49, + -1, + 84, + 0, + -11, + -1, + 78, + 0, + 118, + 0, + -47, + -1, + -77, + -1, + 115, + 0, + 34, + 0, + -54, + -1, + 31, + 0, + 3, + 0, + 103, + 0, + -63, + -1, + 125, + 0, + 111, + 0, + -82, + -1, + -86, + -1, + 8, + 0, + -117, + -1, + -52, + -1, + -17, + -1, + 120, + 0, + 126, + 0, + -90, + -1, + 100, + 0, + -105, + -1, + 63, + 0, + 88, + 0, + 100, + 0, + -71, + -1, + 100, + 0, + -99, + -1, + 4, + 0, + -8, + -1, + -48, + -1, + -123, + -1, + 69, + 0, + -43, + -1, + 41, + 0, + -23, + -1, + -33, + -1, + 98, + 0, + -104, + -1, + 60, + 0, + 63, + 0, + -31, + -1, + -61, + -1, + -127, + -1, + 111, + 0, + 114, + 0, + -67, + -1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65537, + 1, + 1, + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65537, + 1, + 1, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -279,36 +314,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65537, - 1, - 1, - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65537, - 1, - 1, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_20_i16/test.json b/operators/ew_binary/table/table_20_i16/test.json index a0b7c884a..8390c8318 100644 --- a/operators/ew_binary/table/table_20_i16/test.json +++ b/operators/ew_binary/table/table_20_i16/test.json @@ -5,530 +5,557 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -21288, - -1, - 5743, - 0, - 19233, - 0, - -13535, - -1, - -13108, - -1, - 19659, - 0, - 32091, - 0, - 5312, - 0, - -3471, - -1, - -10036, - -1, - 7369, - 0, - 5958, - 0, - -13452, - -1, - -31274, - -1, - -22840, - -1, - 9927, - 0, - -5364, - -1, - -1160, - -1, - -2156, - -1, - 18529, - 0, - -14239, - -1, - -27347, - -1, - -14691, - -1, - -875, - -1, - 11214, - 0, - -610, - -1, - -3856, - -1, - 28693, - 0, - -4075, - -1, - 4700, - 0, - 2768, - 0, - -1738, - -1, - 20158, - 0, - -12610, - -1, - 20157, - 0, - -11039, - -1, - 2949, - 0, - 1354, - 0, - 22923, - 0, - -4004, - -1, - -14120, - -1, - -31352, - -1, - -8934, - -1, - 21383, - 0, - -11385, - -1, - 21382, - 0, - 2806, - 0, - -23577, - -1, - -12965, - -1, - 3541, - 0, - -12079, - -1, - -25653, - -1, - 7114, - 0, - 11287, - 0, - -21481, - -1, - -14338, - -1, - -16786, - -1, - 10447, - 0, - 15092, - 0, - 14876, - 0, - 28754, - 0, - 17606, - 0, - -11752, - -1, - -25708, - -1, - 7059, - 0, - 27263, - 0, - 31139, - 0, - -1629, - -1, - -17272, - -1, - -30317, - -1, - -23511, - -1, - 3594, - 0, - 3067, - 0, - -8460, - -1, - -12455, - -1, - 20312, - 0, - -2620, - -1, - 20201, - 0, - 30357, - 0, - -2411, - -1, - -19482, - -1, - 13285, - 0, - 8836, - 0, - -13703, - -1, - 7986, - 0, - 986, - 0, - 26576, - 0, - -6192, - -1, - 26575, - 0, - 28576, - 0, - -4192, - -1, - -21981, - -1, - 2172, - 0, - -29825, - -1, - -13186, - -1, - -4254, - -1, - 28513, - 0, - 32268, - 0, - -500, - -1, - 25668, - 0, - -7100, - -1, - 16292, - 0, - 22652, - 0, - 25610, - 0, - -7158, - -1, - 25609, - 0, - -7159, - -1, - 1235, - 0, - -1996, - -1, - -12064, - -1, - -31319, - -1, - 1448, - 0, - -10776, - -1, - 10594, - 0, - -5884, - -1, - -8280, - -1, - 24487, - 0, - -8281, - -1, - 15506, - 0, - 16173, - 0, - -7865, - -1, - -15568, - -1, - -32421, - -1, - 346, - 0, - 29342, - 0, - -3426, - -1, - -30677, - -1, - -24723, - -1, - -28335, - -1, - 4432, - 0, - 25684, - 0, - -7084, - -1, - 16170, - 0, - -16598, - -1, - -8703, - -1, - 6513, - 0, - 14413, - 0, - 24547, - 0, - -8221, - -1, - -19895, - -1, - -14385, - -1, - -12431, - -1, - 20336, - 0, - 18180, - 0, - -11770, - -1, - 20997, - 0, - -46, - -1, - 48, - 0, - -4346, - -1, - -23338, - -1, - 9429, - 0, - -23339, - -1, - -21347, - -1, - -17718, - -1, - -14464, - -1, - -24129, - -1, - -31591, - -1, - 1176, - 0, - 30756, - 0, - -2012, - -1, - -13335, - -1, - 414, - 0, - 28016, - 0, - 12731, - 0, - 17444, - 0, - 5316, - 0, - -5438, - -1, - -19676, - -1, - 13091, - 0, - 19931, - 0, - -12837, - -1, - 14116, - 0, - -18652, - -1, - 14115, - 0, - 21361, - 0, - -11407, - -1, - -4337, - -1, - -24658, - -1, - 4409, - 0, - 28020, - 0, - -4748, - -1, - -6713, - -1, - 26054, - 0, - -6714, - -1, - -24104, - -1, - -749, - -1, - 548, - 0, - 10673, - 0, - -12207, - -1, - 20560, - 0, - 1377, - 0, - -13996, - -1, - 18771, - 0, - 27840, - 0, - -55, - -1, - -31139, - -1, - 1628, - 0, - 3617, - 0, - -23056, - -1, - 8780, - 0, - 22334, - 0, - -10434, - -1, - 14635, - 0, - -18133, - -1, - 14634, - 0, - -5301, - -1, - -32342, - -1, - 425, - 0, - -21891, - -1, - 6294, - 0, - -20876, - -1, - 11891, - 0, - 15618, - 0, - 19946, - 0, - -4452, - -1, - -2138, - -1, - 8801, - 0, - 18662, - 0, - 22739, - 0, - -10029, - -1, - 10719, - 0, - -22049, - -1, - -13899, - -1, - 18868, - 0, - -13900, - -1, - 18867, - 0, - -2425, - -1, - -17522, - -1, - -10863, - -1, - 2016, - 0, - 17376, - 0, - 6947, - 0, - 28391, - 0, - 24100, - 0, - 16603, - 0, - 6757, - 0, - -13773, - -1, - -5730, - -1, - -24977, - -1, - -8246, - -1, - 24521, - 0, - -4858, - -1, - -25315, - -1, - 7452, - 0, - 30317, - 0, - 24083, - 0, - -8685, - -1, - -3022, - -1, - 2032, - 0, - -16526, - -1, - -15160, - -1, - -17259, - -1, - 15508, - 0, - 16122, - 0, - 22338, - 0, - 20746, - 0, - 30090 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -21288, + -1, + 5743, + 0, + 19233, + 0, + -13535, + -1, + -13108, + -1, + 19659, + 0, + 32091, + 0, + 5312, + 0, + -3471, + -1, + -10036, + -1, + 7369, + 0, + 5958, + 0, + -13452, + -1, + -31274, + -1, + -22840, + -1, + 9927, + 0, + -5364, + -1, + -1160, + -1, + -2156, + -1, + 18529, + 0, + -14239, + -1, + -27347, + -1, + -14691, + -1, + -875, + -1, + 11214, + 0, + -610, + -1, + -3856, + -1, + 28693, + 0, + -4075, + -1, + 4700, + 0, + 2768, + 0, + -1738, + -1, + 20158, + 0, + -12610, + -1, + 20157, + 0, + -11039, + -1, + 2949, + 0, + 1354, + 0, + 22923, + 0, + -4004, + -1, + -14120, + -1, + -31352, + -1, + -8934, + -1, + 21383, + 0, + -11385, + -1, + 21382, + 0, + 2806, + 0, + -23577, + -1, + -12965, + -1, + 3541, + 0, + -12079, + -1, + -25653, + -1, + 7114, + 0, + 11287, + 0, + -21481, + -1, + -14338, + -1, + -16786, + -1, + 10447, + 0, + 15092, + 0, + 14876, + 0, + 28754, + 0, + 17606, + 0, + -11752, + -1, + -25708, + -1, + 7059, + 0, + 27263, + 0, + 31139, + 0, + -1629, + -1, + -17272, + -1, + -30317, + -1, + -23511, + -1, + 3594, + 0, + 3067, + 0, + -8460, + -1, + -12455, + -1, + 20312, + 0, + -2620, + -1, + 20201, + 0, + 30357, + 0, + -2411, + -1, + -19482, + -1, + 13285, + 0, + 8836, + 0, + -13703, + -1, + 7986, + 0, + 986, + 0, + 26576, + 0, + -6192, + -1, + 26575, + 0, + 28576, + 0, + -4192, + -1, + -21981, + -1, + 2172, + 0, + -29825, + -1, + -13186, + -1, + -4254, + -1, + 28513, + 0, + 32268, + 0, + -500, + -1, + 25668, + 0, + -7100, + -1, + 16292, + 0, + 22652, + 0, + 25610, + 0, + -7158, + -1, + 25609, + 0, + -7159, + -1, + 1235, + 0, + -1996, + -1, + -12064, + -1, + -31319, + -1, + 1448, + 0, + -10776, + -1, + 10594, + 0, + -5884, + -1, + -8280, + -1, + 24487, + 0, + -8281, + -1, + 15506, + 0, + 16173, + 0, + -7865, + -1, + -15568, + -1, + -32421, + -1, + 346, + 0, + 29342, + 0, + -3426, + -1, + -30677, + -1, + -24723, + -1, + -28335, + -1, + 4432, + 0, + 25684, + 0, + -7084, + -1, + 16170, + 0, + -16598, + -1, + -8703, + -1, + 6513, + 0, + 14413, + 0, + 24547, + 0, + -8221, + -1, + -19895, + -1, + -14385, + -1, + -12431, + -1, + 20336, + 0, + 18180, + 0, + -11770, + -1, + 20997, + 0, + -46, + -1, + 48, + 0, + -4346, + -1, + -23338, + -1, + 9429, + 0, + -23339, + -1, + -21347, + -1, + -17718, + -1, + -14464, + -1, + -24129, + -1, + -31591, + -1, + 1176, + 0, + 30756, + 0, + -2012, + -1, + -13335, + -1, + 414, + 0, + 28016, + 0, + 12731, + 0, + 17444, + 0, + 5316, + 0, + -5438, + -1, + -19676, + -1, + 13091, + 0, + 19931, + 0, + -12837, + -1, + 14116, + 0, + -18652, + -1, + 14115, + 0, + 21361, + 0, + -11407, + -1, + -4337, + -1, + -24658, + -1, + 4409, + 0, + 28020, + 0, + -4748, + -1, + -6713, + -1, + 26054, + 0, + -6714, + -1, + -24104, + -1, + -749, + -1, + 548, + 0, + 10673, + 0, + -12207, + -1, + 20560, + 0, + 1377, + 0, + -13996, + -1, + 18771, + 0, + 27840, + 0, + -55, + -1, + -31139, + -1, + 1628, + 0, + 3617, + 0, + -23056, + -1, + 8780, + 0, + 22334, + 0, + -10434, + -1, + 14635, + 0, + -18133, + -1, + 14634, + 0, + -5301, + -1, + -32342, + -1, + 425, + 0, + -21891, + -1, + 6294, + 0, + -20876, + -1, + 11891, + 0, + 15618, + 0, + 19946, + 0, + -4452, + -1, + -2138, + -1, + 8801, + 0, + 18662, + 0, + 22739, + 0, + -10029, + -1, + 10719, + 0, + -22049, + -1, + -13899, + -1, + 18868, + 0, + -13900, + -1, + 18867, + 0, + -2425, + -1, + -17522, + -1, + -10863, + -1, + 2016, + 0, + 17376, + 0, + 6947, + 0, + 28391, + 0, + 24100, + 0, + 16603, + 0, + 6757, + 0, + -13773, + -1, + -5730, + -1, + -24977, + -1, + -8246, + -1, + 24521, + 0, + -4858, + -1, + -25315, + -1, + 7452, + 0, + 30317, + 0, + 24083, + 0, + -8685, + -1, + -3022, + -1, + 2032, + 0, + -16526, + -1, + -15160, + -1, + -17259, + -1, + 15508, + 0, + 16122, + 0, + 22338, + 0, + 20746, + 0, + 30090 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -536,28 +563,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_20_i8/test.json b/operators/ew_binary/table/table_20_i8/test.json index cf38c51b7..9a136f813 100644 --- a/operators/ew_binary/table/table_20_i8/test.json +++ b/operators/ew_binary/table/table_20_i8/test.json @@ -5,273 +5,300 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - 70, - 0, - 39, - 0, - -16, - -1, - -18, - -1, - 91, - 0, - -106, - -1, - 50, - 0, - -77, - -1, - -104, - -1, - 6, - 0, - 121, - 0, - 60, - 0, - 66, - 0, - 55, - 0, - 73, - 0, - 3, - 0, - -96, - -1, - 86, - 0, - -13, - -1, - 0, - 0, - -34, - -1, - -82, - -1, - 109, - 0, - 72, - 0, - 36, - 0, - -25, - -1, - 82, - 0, - 11, - 0, - -15, - -1, - -13, - -1, - -70, - -1, - -105, - -1, - 13, - 0, - 99, - 0, - -112, - -1, - 91, - 0, - 83, - 0, - -58, - -1, - 33, - 0, - -86, - -1, - 66, - 0, - 51, - 0, - -38, - -1, - -111, - -1, - 120, - 0, - -14, - -1, - 100, - 0, - 45, - 0, - 71, - 0, - 66, - 0, - -79, - -1, - -35, - -1, - -9, - -1, - -1, - -1, - -117, - -1, - 11, - 0, - -89, - -1, - 62, - 0, - 46, - 0, - 108, - 0, - 62, - 0, - -35, - -1, - 119, - 0, - -23, - -1, - -45, - -1, - 103, - 0, - -34, - -1, - -109, - -1, - -8, - -1, - 75, - 0, - -80, - -1, - -10, - -1, - -95, - -1, - 47, - 0, - -7, - -1, - -44, - -1, - -70, - -1, - 16, - 0, - 43, - 0, - 112, - 0, - -17, - -1, - -87, - -1, - 85, - 0, - 33, - 0, - 51, - 0, - -104, - -1, - -49, - -1, - 68, - 0, - 85, - 0, - -17, - -1, - 78, - 0, - 87, - 0, - -29, - -1, - 101, - 0, - -55, - -1, - -67, - -1, - 46, - 0, - 35, - 0, - -93, - -1, - 85, - 0, - -77, - -1, - 78, - 0, - -127, - -1, - 75, - 0, - 73, - 0, - 71, - 0, - 42, - 0, - -8, - -1, - 52, - 0, - -58, - -1, - 71, - 0, - 14, - 0, - -11, - -1, - 1, - 0, - 17, - 0, - -119, - -1, - -93, - -1, - -66, - -1, - -99, - -1, - -16, - -1, - 43, - 0, - 39, - 0, - -8, - -1, - 90, - 0, - 16, - 0, - -108, - -1, - 67, - 0, - 19, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + 70, + 0, + 39, + 0, + -16, + -1, + -18, + -1, + 91, + 0, + -106, + -1, + 50, + 0, + -77, + -1, + -104, + -1, + 6, + 0, + 121, + 0, + 60, + 0, + 66, + 0, + 55, + 0, + 73, + 0, + 3, + 0, + -96, + -1, + 86, + 0, + -13, + -1, + 0, + 0, + -34, + -1, + -82, + -1, + 109, + 0, + 72, + 0, + 36, + 0, + -25, + -1, + 82, + 0, + 11, + 0, + -15, + -1, + -13, + -1, + -70, + -1, + -105, + -1, + 13, + 0, + 99, + 0, + -112, + -1, + 91, + 0, + 83, + 0, + -58, + -1, + 33, + 0, + -86, + -1, + 66, + 0, + 51, + 0, + -38, + -1, + -111, + -1, + 120, + 0, + -14, + -1, + 100, + 0, + 45, + 0, + 71, + 0, + 66, + 0, + -79, + -1, + -35, + -1, + -9, + -1, + -1, + -1, + -117, + -1, + 11, + 0, + -89, + -1, + 62, + 0, + 46, + 0, + 108, + 0, + 62, + 0, + -35, + -1, + 119, + 0, + -23, + -1, + -45, + -1, + 103, + 0, + -34, + -1, + -109, + -1, + -8, + -1, + 75, + 0, + -80, + -1, + -10, + -1, + -95, + -1, + 47, + 0, + -7, + -1, + -44, + -1, + -70, + -1, + 16, + 0, + 43, + 0, + 112, + 0, + -17, + -1, + -87, + -1, + 85, + 0, + 33, + 0, + 51, + 0, + -104, + -1, + -49, + -1, + 68, + 0, + 85, + 0, + -17, + -1, + 78, + 0, + 87, + 0, + -29, + -1, + 101, + 0, + -55, + -1, + -67, + -1, + 46, + 0, + 35, + 0, + -93, + -1, + 85, + 0, + -77, + -1, + 78, + 0, + -127, + -1, + 75, + 0, + 73, + 0, + 71, + 0, + 42, + 0, + -8, + -1, + 52, + 0, + -58, + -1, + 71, + 0, + 14, + 0, + -11, + -1, + 1, + 0, + 17, + 0, + -119, + -1, + -93, + -1, + -66, + -1, + -99, + -1, + -16, + -1, + 43, + 0, + 39, + 0, + -8, + -1, + 90, + 0, + 16, + 0, + -108, + -1, + 67, + 0, + 19, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -279,28 +306,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_27x44x48_i8/test.json b/operators/ew_binary/table/table_27x44x48_i8/test.json index 1f2c1aca4..fdab5cf26 100644 --- a/operators/ew_binary/table/table_27x44x48_i8/test.json +++ b/operators/ew_binary/table/table_27x44x48_i8/test.json @@ -5,273 +5,304 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - 89, - 0, - -2, - -1, - -127, - -1, - -57, - -1, - 90, - 0, - 8, - 0, - 30, - 0, - -11, - -1, - -87, - -1, - 101, - 0, - 69, - 0, - 126, - 0, - 91, - 0, - -54, - -1, - -63, - -1, - -65, - -1, - 107, - 0, - 14, - 0, - -12, - -1, - 119, - 0, - 26, - 0, - 104, - 0, - 124, - 0, - -108, - -1, - -36, - -1, - 59, - 0, - 80, - 0, - -90, - -1, - -47, - -1, - 12, - 0, - 76, - 0, - -100, - -1, - 25, - 0, - -53, - -1, - -73, - -1, - 3, - 0, - -23, - -1, - 34, - 0, - -47, - -1, - 82, - 0, - -109, - -1, - 92, - 0, - -121, - -1, - 60, - 0, - -40, - -1, - -30, - -1, - -124, - -1, - 51, - 0, - -86, - -1, - 40, - 0, - 57, - 0, - 88, - 0, - 53, - 0, - -51, - -1, - 61, - 0, - 83, - 0, - -47, - -1, - -97, - -1, - 99, - 0, - -91, - -1, - 24, - 0, - -68, - -1, - -96, - -1, - 70, - 0, - -92, - -1, - 43, - 0, - 49, - 0, - -113, - -1, - -84, - -1, - 75, - 0, - 1, - 0, - -97, - -1, - 125, - 0, - -61, - -1, - -127, - -1, - 108, - 0, - -124, - -1, - 13, - 0, - 126, - 0, - 19, - 0, - 21, - 0, - -29, - -1, - -96, - -1, - 18, - 0, - 101, - 0, - -105, - -1, - 97, - 0, - -22, - -1, - 9, - 0, - -86, - -1, - 31, - 0, - -82, - -1, - -59, - -1, - 56, - 0, - -116, - -1, - -14, - -1, - 24, - 0, - -95, - -1, - -53, - -1, - -41, - -1, - 41, - 0, - 122, - 0, - 86, - 0, - -80, - -1, - -124, - -1, - -115, - -1, - 24, - 0, - -88, - -1, - -69, - -1, - 88, - 0, - 95, - 0, - 86, - 0, - -64, - -1, - 30, - 0, - 28, - 0, - -81, - -1, - 13, - 0, - 6, - 0, - -27, - -1, - 64, - 0, - 45, - 0, - 8, - 0, - 57, - 0, - 67, - 0, - 17, - 0, - -60, - -1, - 66, - 0, - 55, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + 89, + 0, + -2, + -1, + -127, + -1, + -57, + -1, + 90, + 0, + 8, + 0, + 30, + 0, + -11, + -1, + -87, + -1, + 101, + 0, + 69, + 0, + 126, + 0, + 91, + 0, + -54, + -1, + -63, + -1, + -65, + -1, + 107, + 0, + 14, + 0, + -12, + -1, + 119, + 0, + 26, + 0, + 104, + 0, + 124, + 0, + -108, + -1, + -36, + -1, + 59, + 0, + 80, + 0, + -90, + -1, + -47, + -1, + 12, + 0, + 76, + 0, + -100, + -1, + 25, + 0, + -53, + -1, + -73, + -1, + 3, + 0, + -23, + -1, + 34, + 0, + -47, + -1, + 82, + 0, + -109, + -1, + 92, + 0, + -121, + -1, + 60, + 0, + -40, + -1, + -30, + -1, + -124, + -1, + 51, + 0, + -86, + -1, + 40, + 0, + 57, + 0, + 88, + 0, + 53, + 0, + -51, + -1, + 61, + 0, + 83, + 0, + -47, + -1, + -97, + -1, + 99, + 0, + -91, + -1, + 24, + 0, + -68, + -1, + -96, + -1, + 70, + 0, + -92, + -1, + 43, + 0, + 49, + 0, + -113, + -1, + -84, + -1, + 75, + 0, + 1, + 0, + -97, + -1, + 125, + 0, + -61, + -1, + -127, + -1, + 108, + 0, + -124, + -1, + 13, + 0, + 126, + 0, + 19, + 0, + 21, + 0, + -29, + -1, + -96, + -1, + 18, + 0, + 101, + 0, + -105, + -1, + 97, + 0, + -22, + -1, + 9, + 0, + -86, + -1, + 31, + 0, + -82, + -1, + -59, + -1, + 56, + 0, + -116, + -1, + -14, + -1, + 24, + 0, + -95, + -1, + -53, + -1, + -41, + -1, + 41, + 0, + 122, + 0, + 86, + 0, + -80, + -1, + -124, + -1, + -115, + -1, + 24, + 0, + -88, + -1, + -69, + -1, + 88, + 0, + 95, + 0, + 86, + 0, + -64, + -1, + 30, + 0, + 28, + 0, + -81, + -1, + 13, + 0, + 6, + 0, + -27, + -1, + 64, + 0, + 45, + 0, + 8, + 0, + 57, + 0, + 67, + 0, + 17, + 0, + -60, + -1, + 66, + 0, + 55, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 44, + 48 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 27, + 44, + 48 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -279,32 +310,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 44, - 48 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 27, - 44, - 48 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_28x22x18_i16/test.json b/operators/ew_binary/table/table_28x22x18_i16/test.json index 0a5081465..f78946373 100644 --- a/operators/ew_binary/table/table_28x22x18_i16/test.json +++ b/operators/ew_binary/table/table_28x22x18_i16/test.json @@ -5,530 +5,561 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -32206, - -1, - -1213, - -1, - -26881, - -1, - 5886, - 0, - -16729, - -1, - 9995, - 0, - 11369, - 0, - -295, - -1, - 25140, - 0, - -7628, - -1, - -17431, - -1, - -16225, - -1, - -23894, - -1, - -13450, - -1, - -12276, - -1, - 17354, - 0, - -13001, - -1, - 19766, - 0, - 17869, - 0, - 26322, - 0, - -6446, - -1, - 26321, - 0, - 7468, - 0, - 31612, - 0, - -1156, - -1, - 29687, - 0, - 5806, - 0, - -26962, - -1, - -5891, - -1, - -23738, - -1, - 9029, - 0, - -12815, - -1, - -18196, - -1, - 3466, - 0, - -4905, - -1, - -26413, - -1, - 6354, - 0, - 22662, - 0, - 15922, - 0, - 7651, - 0, - -6386, - -1, - 2776, - 0, - 1376, - 0, - -21935, - -1, - -27407, - -1, - -16171, - -1, - -2993, - -1, - -22262, - -1, - -25778, - -1, - 6989, - 0, - -8193, - -1, - 5519, - 0, - 1574, - 0, - 15409, - 0, - 15716, - 0, - -13368, - -1, - 19399, - 0, - -8438, - -1, - 21968, - 0, - -6236, - -1, - -25494, - -1, - 7273, - 0, - -25495, - -1, - 7272, - 0, - -25496, - -1, - -19215, - -1, - 6774, - 0, - 28936, - 0, - -3832, - -1, - -24861, - -1, - -17505, - -1, - 15262, - 0, - 14859, - 0, - -17909, - -1, - -7544, - -1, - -15432, - -1, - -21114, - -1, - 11653, - 0, - 7714, - 0, - -21005, - -1, - 9875, - 0, - -5665, - -1, - -28740, - -1, - -3287, - -1, - -20629, - -1, - -16695, - -1, - 16072, - 0, - 13778, - 0, - -18990, - -1, - 13777, - 0, - 4869, - 0, - 24548, - 0, - 16192, - 0, - -10531, - -1, - 2285, - 0, - 2021, - 0, - 14414, - 0, - -16489, - -1, - -10939, - -1, - -16726, - -1, - -13360, - -1, - -22201, - -1, - -30373, - -1, - 2394, - 0, - -27898, - -1, - 4869, - 0, - -27899, - -1, - 4868, - 0, - -11246, - -1, - 1157, - 0, - -14273, - -1, - -616, - -1, - -3175, - -1, - 1949, - 0, - -6994, - -1, - 2396, - 0, - 21329, - 0, - -4289, - -1, - -9085, - -1, - -24134, - -1, - -9194, - -1, - -24533, - -1, - -20808, - -1, - 11959, - 0, - -20809, - -1, - -1178, - -1, - 21908, - 0, - 29701, - 0, - -3067, - -1, - -22048, - -1, - -8350, - -1, - 3566, - 0, - 30133, - 0, - -2635, - -1, - -21995, - -1, - -16176, - -1, - 16591, - 0, - -16177, - -1, - -7856, - -1, - -24973, - -1, - -22475, - -1, - 10292, - 0, - -22476, - -1, - -11697, - -1, - 21070, - 0, - 7086, - 0, - -25682, - -1, - -2293, - -1, - 30474, - 0, - -2294, - -1, - 1876, - 0, - 2089, - 0, - 10515, - 0, - -20498, - -1, - 12269, - 0, - 32021, - 0, - -747, - -1, - 20860, - 0, - 20768, - 0, - 15834, - 0, - -8463, - -1, - -2048, - -1, - 22230, - 0, - -10538, - -1, - 21544, - 0, - 27568, - 0, - 11918, - 0, - -10395, - -1, - 3876, - 0, - -28892, - -1, - 3875, - 0, - -10329, - -1, - -29027, - -1, - 3740, - 0, - 10325, - 0, - 8041, - 0, - -24727, - -1, - 8040, - 0, - 8999, - 0, - 19243, - 0, - 21451, - 0, - -11317, - -1, - -18964, - -1, - 13803, - 0, - 2033, - 0, - -4064, - -1, - -13946, - -1, - 9110, - 0, - 16643, - 0, - -16125, - -1, - 3449, - 0, - 32333, - 0, - -435, - -1, - -14360, - -1, - 18407, - 0, - -14361, - -1, - -6717, - -1, - -2736, - -1, - 19521, - 0, - -13247, - -1, - -4322, - -1, - -22786, - -1, - 9981, - 0, - 8669, - 0, - -214, - -1, - -7018, - -1, - -22730, - -1, - 10037, - 0, - 9677, - 0, - -11852, - -1, - -5641, - -1, - 14822, - 0, - 14389, - 0, - -2550, - -1, - -12918, - -1, - 10482, - 0, - 10369, - 0, - 6533, - 0, - -26235, - -1, - -1784, - -1, - 7465, - 0, - 29495, - 0, - 1675, - 0, - -10308, - -1, - 3656, - 0, - -21153, - -1, - -26825, - -1, - 5942, - 0, - 31862, - 0, - 22675, - 0, - 5482, - 0, - -27286, - -1, - 5481, - 0, - -3301, - -1, - -13785, - -1, - 18982, - 0, - 16148, - 0, - 16359, - 0, - -14566, - -1, - 18201, - 0, - -3089, - -1, - 2058, - 0, - 16446, - 0, - 10485, - 0, - -21477, - -1, - -12945, - -1, - -9098, - -1, - 23669, - 0, - 14057, - 0, - -8760, - -1, - 15382, - 0, - 15631, - 0, - -6933, - -1, - -6348, - -1, - 25840, - 0, - 4051, - 0, - -22970 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -32206, + -1, + -1213, + -1, + -26881, + -1, + 5886, + 0, + -16729, + -1, + 9995, + 0, + 11369, + 0, + -295, + -1, + 25140, + 0, + -7628, + -1, + -17431, + -1, + -16225, + -1, + -23894, + -1, + -13450, + -1, + -12276, + -1, + 17354, + 0, + -13001, + -1, + 19766, + 0, + 17869, + 0, + 26322, + 0, + -6446, + -1, + 26321, + 0, + 7468, + 0, + 31612, + 0, + -1156, + -1, + 29687, + 0, + 5806, + 0, + -26962, + -1, + -5891, + -1, + -23738, + -1, + 9029, + 0, + -12815, + -1, + -18196, + -1, + 3466, + 0, + -4905, + -1, + -26413, + -1, + 6354, + 0, + 22662, + 0, + 15922, + 0, + 7651, + 0, + -6386, + -1, + 2776, + 0, + 1376, + 0, + -21935, + -1, + -27407, + -1, + -16171, + -1, + -2993, + -1, + -22262, + -1, + -25778, + -1, + 6989, + 0, + -8193, + -1, + 5519, + 0, + 1574, + 0, + 15409, + 0, + 15716, + 0, + -13368, + -1, + 19399, + 0, + -8438, + -1, + 21968, + 0, + -6236, + -1, + -25494, + -1, + 7273, + 0, + -25495, + -1, + 7272, + 0, + -25496, + -1, + -19215, + -1, + 6774, + 0, + 28936, + 0, + -3832, + -1, + -24861, + -1, + -17505, + -1, + 15262, + 0, + 14859, + 0, + -17909, + -1, + -7544, + -1, + -15432, + -1, + -21114, + -1, + 11653, + 0, + 7714, + 0, + -21005, + -1, + 9875, + 0, + -5665, + -1, + -28740, + -1, + -3287, + -1, + -20629, + -1, + -16695, + -1, + 16072, + 0, + 13778, + 0, + -18990, + -1, + 13777, + 0, + 4869, + 0, + 24548, + 0, + 16192, + 0, + -10531, + -1, + 2285, + 0, + 2021, + 0, + 14414, + 0, + -16489, + -1, + -10939, + -1, + -16726, + -1, + -13360, + -1, + -22201, + -1, + -30373, + -1, + 2394, + 0, + -27898, + -1, + 4869, + 0, + -27899, + -1, + 4868, + 0, + -11246, + -1, + 1157, + 0, + -14273, + -1, + -616, + -1, + -3175, + -1, + 1949, + 0, + -6994, + -1, + 2396, + 0, + 21329, + 0, + -4289, + -1, + -9085, + -1, + -24134, + -1, + -9194, + -1, + -24533, + -1, + -20808, + -1, + 11959, + 0, + -20809, + -1, + -1178, + -1, + 21908, + 0, + 29701, + 0, + -3067, + -1, + -22048, + -1, + -8350, + -1, + 3566, + 0, + 30133, + 0, + -2635, + -1, + -21995, + -1, + -16176, + -1, + 16591, + 0, + -16177, + -1, + -7856, + -1, + -24973, + -1, + -22475, + -1, + 10292, + 0, + -22476, + -1, + -11697, + -1, + 21070, + 0, + 7086, + 0, + -25682, + -1, + -2293, + -1, + 30474, + 0, + -2294, + -1, + 1876, + 0, + 2089, + 0, + 10515, + 0, + -20498, + -1, + 12269, + 0, + 32021, + 0, + -747, + -1, + 20860, + 0, + 20768, + 0, + 15834, + 0, + -8463, + -1, + -2048, + -1, + 22230, + 0, + -10538, + -1, + 21544, + 0, + 27568, + 0, + 11918, + 0, + -10395, + -1, + 3876, + 0, + -28892, + -1, + 3875, + 0, + -10329, + -1, + -29027, + -1, + 3740, + 0, + 10325, + 0, + 8041, + 0, + -24727, + -1, + 8040, + 0, + 8999, + 0, + 19243, + 0, + 21451, + 0, + -11317, + -1, + -18964, + -1, + 13803, + 0, + 2033, + 0, + -4064, + -1, + -13946, + -1, + 9110, + 0, + 16643, + 0, + -16125, + -1, + 3449, + 0, + 32333, + 0, + -435, + -1, + -14360, + -1, + 18407, + 0, + -14361, + -1, + -6717, + -1, + -2736, + -1, + 19521, + 0, + -13247, + -1, + -4322, + -1, + -22786, + -1, + 9981, + 0, + 8669, + 0, + -214, + -1, + -7018, + -1, + -22730, + -1, + 10037, + 0, + 9677, + 0, + -11852, + -1, + -5641, + -1, + 14822, + 0, + 14389, + 0, + -2550, + -1, + -12918, + -1, + 10482, + 0, + 10369, + 0, + 6533, + 0, + -26235, + -1, + -1784, + -1, + 7465, + 0, + 29495, + 0, + 1675, + 0, + -10308, + -1, + 3656, + 0, + -21153, + -1, + -26825, + -1, + 5942, + 0, + 31862, + 0, + 22675, + 0, + 5482, + 0, + -27286, + -1, + 5481, + 0, + -3301, + -1, + -13785, + -1, + 18982, + 0, + 16148, + 0, + 16359, + 0, + -14566, + -1, + 18201, + 0, + -3089, + -1, + 2058, + 0, + 16446, + 0, + 10485, + 0, + -21477, + -1, + -12945, + -1, + -9098, + -1, + 23669, + 0, + 14057, + 0, + -8760, + -1, + 15382, + 0, + 15631, + 0, + -6933, + -1, + -6348, + -1, + 25840, + 0, + 4051, + 0, + -22970 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28, + 22, + 18 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 28, + 22, + 18 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -536,32 +567,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28, - 22, - 18 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 28, - 22, - 18 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_2x12x10x7_i8/test.json b/operators/ew_binary/table/table_2x12x10x7_i8/test.json index a4fe49545..c744748ae 100644 --- a/operators/ew_binary/table/table_2x12x10x7_i8/test.json +++ b/operators/ew_binary/table/table_2x12x10x7_i8/test.json @@ -5,273 +5,306 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -18, - -1, - 91, - 0, - -106, - -1, - 50, - 0, - -77, - -1, - -104, - -1, - 6, - 0, - 121, - 0, - 60, - 0, - 66, - 0, - 55, - 0, - 73, - 0, - 3, - 0, - -96, - -1, - 86, - 0, - -13, - -1, - 0, - 0, - -34, - -1, - -82, - -1, - 109, - 0, - 72, - 0, - 36, - 0, - -25, - -1, - 82, - 0, - 11, - 0, - -15, - -1, - -13, - -1, - -70, - -1, - -105, - -1, - 13, - 0, - 99, - 0, - -112, - -1, - 91, - 0, - 83, - 0, - -58, - -1, - 33, - 0, - -86, - -1, - 66, - 0, - 51, - 0, - -38, - -1, - -111, - -1, - 120, - 0, - -14, - -1, - 100, - 0, - 45, - 0, - 71, - 0, - 66, - 0, - -79, - -1, - -35, - -1, - -9, - -1, - -1, - -1, - -117, - -1, - 11, - 0, - -89, - -1, - 62, - 0, - 46, - 0, - 108, - 0, - 62, - 0, - -35, - -1, - 119, - 0, - -23, - -1, - -45, - -1, - 103, - 0, - -34, - -1, - -109, - -1, - -8, - -1, - 75, - 0, - -80, - -1, - -10, - -1, - -95, - -1, - 47, - 0, - -7, - -1, - -44, - -1, - -70, - -1, - 16, - 0, - 43, - 0, - 112, - 0, - -17, - -1, - -87, - -1, - 85, - 0, - 33, - 0, - 51, - 0, - -104, - -1, - -49, - -1, - 68, - 0, - 85, - 0, - -17, - -1, - 78, - 0, - 87, - 0, - -29, - -1, - 101, - 0, - -55, - -1, - -67, - -1, - 46, - 0, - 35, - 0, - -93, - -1, - 85, - 0, - -77, - -1, - 78, - 0, - -127, - -1, - 75, - 0, - 73, - 0, - 71, - 0, - 42, - 0, - -8, - -1, - 52, - 0, - -58, - -1, - 71, - 0, - 14, - 0, - -11, - -1, - 1, - 0, - 17, - 0, - -119, - -1, - -93, - -1, - -66, - -1, - -99, - -1, - -16, - -1, - 43, - 0, - 39, - 0, - -8, - -1, - 90, - 0, - 16, - 0, - -108, - -1, - 67, - 0, - 19, - 0, - 34, - 0, - 16, - 0, - 13, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -18, + -1, + 91, + 0, + -106, + -1, + 50, + 0, + -77, + -1, + -104, + -1, + 6, + 0, + 121, + 0, + 60, + 0, + 66, + 0, + 55, + 0, + 73, + 0, + 3, + 0, + -96, + -1, + 86, + 0, + -13, + -1, + 0, + 0, + -34, + -1, + -82, + -1, + 109, + 0, + 72, + 0, + 36, + 0, + -25, + -1, + 82, + 0, + 11, + 0, + -15, + -1, + -13, + -1, + -70, + -1, + -105, + -1, + 13, + 0, + 99, + 0, + -112, + -1, + 91, + 0, + 83, + 0, + -58, + -1, + 33, + 0, + -86, + -1, + 66, + 0, + 51, + 0, + -38, + -1, + -111, + -1, + 120, + 0, + -14, + -1, + 100, + 0, + 45, + 0, + 71, + 0, + 66, + 0, + -79, + -1, + -35, + -1, + -9, + -1, + -1, + -1, + -117, + -1, + 11, + 0, + -89, + -1, + 62, + 0, + 46, + 0, + 108, + 0, + 62, + 0, + -35, + -1, + 119, + 0, + -23, + -1, + -45, + -1, + 103, + 0, + -34, + -1, + -109, + -1, + -8, + -1, + 75, + 0, + -80, + -1, + -10, + -1, + -95, + -1, + 47, + 0, + -7, + -1, + -44, + -1, + -70, + -1, + 16, + 0, + 43, + 0, + 112, + 0, + -17, + -1, + -87, + -1, + 85, + 0, + 33, + 0, + 51, + 0, + -104, + -1, + -49, + -1, + 68, + 0, + 85, + 0, + -17, + -1, + 78, + 0, + 87, + 0, + -29, + -1, + 101, + 0, + -55, + -1, + -67, + -1, + 46, + 0, + 35, + 0, + -93, + -1, + 85, + 0, + -77, + -1, + 78, + 0, + -127, + -1, + 75, + 0, + 73, + 0, + 71, + 0, + 42, + 0, + -8, + -1, + 52, + 0, + -58, + -1, + 71, + 0, + 14, + 0, + -11, + -1, + 1, + 0, + 17, + 0, + -119, + -1, + -93, + -1, + -66, + -1, + -99, + -1, + -16, + -1, + 43, + 0, + 39, + 0, + -8, + -1, + 90, + 0, + 16, + 0, + -108, + -1, + 67, + 0, + 19, + 0, + 34, + 0, + 16, + 0, + 13, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -279,34 +312,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_2x5x13x14x10_i8/test.json b/operators/ew_binary/table/table_2x5x13x14x10_i8/test.json index 54d9681b9..2c91674b1 100644 --- a/operators/ew_binary/table/table_2x5x13x14x10_i8/test.json +++ b/operators/ew_binary/table/table_2x5x13x14x10_i8/test.json @@ -5,273 +5,308 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -97, - -1, - -97, - -1, - -6, - -1, - 22, - 0, - -120, - -1, - 47, - 0, - 11, - 0, - -125, - -1, - -104, - -1, - -12, - -1, - 56, - 0, - 83, - 0, - -18, - -1, - -53, - -1, - 119, - 0, - -11, - -1, - -48, - -1, - -15, - -1, - -125, - -1, - -51, - -1, - 3, - 0, - 107, - 0, - 60, - 0, - 72, - 0, - 11, - 0, - -100, - -1, - -28, - -1, - 127, - 0, - -117, - -1, - 97, - 0, - 47, - 0, - -56, - -1, - 71, - 0, - 86, - 0, - -117, - -1, - -101, - -1, - 42, - 0, - 127, - 0, - -122, - -1, - 42, - 0, - -94, - -1, - 38, - 0, - 31, - 0, - -105, - -1, - 46, - 0, - 101, - 0, - 93, - 0, - -121, - -1, - -66, - -1, - -67, - -1, - -12, - -1, - -92, - -1, - 90, - 0, - 70, - 0, - 78, - 0, - -78, - -1, - -125, - -1, - 105, - 0, - -55, - -1, - 40, - 0, - 104, - 0, - -119, - -1, - -127, - -1, - -127, - -1, - -88, - -1, - -115, - -1, - 81, - 0, - 27, - 0, - 122, - 0, - 77, - 0, - 118, - 0, - -67, - -1, - -55, - -1, - 89, - 0, - -66, - -1, - -114, - -1, - 43, - 0, - 77, - 0, - 119, - 0, - 109, - 0, - -98, - -1, - 69, - 0, - 88, - 0, - 50, - 0, - 81, - 0, - 86, - 0, - -14, - -1, - -118, - -1, - -12, - -1, - -77, - -1, - -99, - -1, - -97, - -1, - 50, - 0, - 1, - 0, - 10, - 0, - 62, - 0, - 12, - 0, - 33, - 0, - -106, - -1, - 89, - 0, - -14, - -1, - -89, - -1, - 80, - 0, - 60, - 0, - -115, - -1, - -79, - -1, - -124, - -1, - -59, - -1, - -103, - -1, - 53, - 0, - 5, - 0, - 122, - 0, - 63, - 0, - 28, - 0, - 2, - 0, - -115, - -1, - -111, - -1, - 29, - 0, - -127, - -1, - -118, - -1, - -72, - -1, - 98, - 0, - -11, - -1, - 53, - 0, - -23, - -1, - -84, - -1, - -33, - -1, - -105, - -1 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -97, + -1, + -97, + -1, + -6, + -1, + 22, + 0, + -120, + -1, + 47, + 0, + 11, + 0, + -125, + -1, + -104, + -1, + -12, + -1, + 56, + 0, + 83, + 0, + -18, + -1, + -53, + -1, + 119, + 0, + -11, + -1, + -48, + -1, + -15, + -1, + -125, + -1, + -51, + -1, + 3, + 0, + 107, + 0, + 60, + 0, + 72, + 0, + 11, + 0, + -100, + -1, + -28, + -1, + 127, + 0, + -117, + -1, + 97, + 0, + 47, + 0, + -56, + -1, + 71, + 0, + 86, + 0, + -117, + -1, + -101, + -1, + 42, + 0, + 127, + 0, + -122, + -1, + 42, + 0, + -94, + -1, + 38, + 0, + 31, + 0, + -105, + -1, + 46, + 0, + 101, + 0, + 93, + 0, + -121, + -1, + -66, + -1, + -67, + -1, + -12, + -1, + -92, + -1, + 90, + 0, + 70, + 0, + 78, + 0, + -78, + -1, + -125, + -1, + 105, + 0, + -55, + -1, + 40, + 0, + 104, + 0, + -119, + -1, + -127, + -1, + -127, + -1, + -88, + -1, + -115, + -1, + 81, + 0, + 27, + 0, + 122, + 0, + 77, + 0, + 118, + 0, + -67, + -1, + -55, + -1, + 89, + 0, + -66, + -1, + -114, + -1, + 43, + 0, + 77, + 0, + 119, + 0, + 109, + 0, + -98, + -1, + 69, + 0, + 88, + 0, + 50, + 0, + 81, + 0, + 86, + 0, + -14, + -1, + -118, + -1, + -12, + -1, + -77, + -1, + -99, + -1, + -97, + -1, + 50, + 0, + 1, + 0, + 10, + 0, + 62, + 0, + 12, + 0, + 33, + 0, + -106, + -1, + 89, + 0, + -14, + -1, + -89, + -1, + 80, + 0, + 60, + 0, + -115, + -1, + -79, + -1, + -124, + -1, + -59, + -1, + -103, + -1, + 53, + 0, + 5, + 0, + 122, + 0, + 63, + 0, + 28, + 0, + 2, + 0, + -115, + -1, + -111, + -1, + 29, + 0, + -127, + -1, + -118, + -1, + -72, + -1, + 98, + 0, + -11, + -1, + 53, + 0, + -23, + -1, + -84, + -1, + -33, + -1, + -105, + -1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 5, + 13, + 14, + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 5, + 13, + 14, + 10 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -279,36 +314,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 5, - 13, - 14, - 10 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 5, - 13, - 14, - 10 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_32x39_i16/test.json b/operators/ew_binary/table/table_32x39_i16/test.json index 9c3e206bf..b95c96246 100644 --- a/operators/ew_binary/table/table_32x39_i16/test.json +++ b/operators/ew_binary/table/table_32x39_i16/test.json @@ -5,530 +5,559 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -21431, - -1, - 11336, - 0, - -12197, - -1, - -28408, - -1, - 4359, - 0, - 26397, - 0, - -6371, - -1, - -4151, - -1, - 21441, - 0, - 13511, - 0, - 23366, - 0, - -5557, - -1, - -8372, - -1, - 13708, - 0, - -19060, - -1, - -17078, - -1, - 6608, - 0, - 11039, - 0, - -21729, - -1, - 544, - 0, - -8853, - -1, - 114, - 0, - 30043, - 0, - -2725, - -1, - 30042, - 0, - -2726, - -1, - 17832, - 0, - -4950, - -1, - -12389, - -1, - 17734, - 0, - 12298, - 0, - -20470, - -1, - 12297, - 0, - 16585, - 0, - -7351, - -1, - 25416, - 0, - 9233, - 0, - -10904, - -1, - -32065, - -1, - 702, - 0, - -19068, - -1, - 13699, - 0, - 1644, - 0, - -2181, - -1, - -22037, - -1, - 10730, - 0, - -21896, - -1, - -5391, - -1, - 22040, - 0, - 27549, - 0, - 32055, - 0, - 30016, - 0, - 3668, - 0, - -19630, - -1, - 13137, - 0, - 19767, - 0, - 32133, - 0, - 9892, - 0, - -22876, - -1, - 190, - 0, - -3392, - -1, - 22475, - 0, - -7041, - -1, - -11234, - -1, - -27522, - -1, - 5245, - 0, - 16733, - 0, - -16035, - -1, - -4340, - -1, - -1330, - -1, - -2011, - -1, - 27455, - 0, - -5313, - -1, - -12692, - -1, - -20911, - -1, - -16772, - -1, - 15995, - 0, - 28883, - 0, - -3885, - -1, - 8656, - 0, - -17508, - -1, - -20149, - -1, - -13628, - -1, - -20029, - -1, - -643, - -1, - 32124, - 0, - 5665, - 0, - 14630, - 0, - -440, - -1, - -31857, - -1, - -27256, - -1, - -15148, - -1, - -16800, - -1, - 15967, - 0, - 22517, - 0, - 23207, - 0, - 9017, - 0, - 3681, - 0, - 9774, - 0, - -6108, - -1, - 11154, - 0, - 19296, - 0, - 17229, - 0, - 7459, - 0, - -25309, - -1, - 7458, - 0, - -8742, - -1, - 15968, - 0, - 2590, - 0, - 24981, - 0, - -7787, - -1, - 24980, - 0, - 22575, - 0, - -10193, - -1, - -1143, - -1, - 2054, - 0, - 17604, - 0, - 12396, - 0, - 23069, - 0, - -8529, - -1, - 314, - 0, - -4531, - -1, - 26840, - 0, - -5928, - -1, - 5709, - 0, - -24893, - -1, - 7874, - 0, - -7588, - -1, - -10448, - -1, - 5434, - 0, - -78, - -1, - 22804, - 0, - 2058, - 0, - 1113, - 0, - -25889, - -1, - -31331, - -1, - -6649, - -1, - 26118, - 0, - 27350, - 0, - 8452, - 0, - 8574, - 0, - -7111, - -1, - -21135, - -1, - -32208, - -1, - -10561, - -1, - -12028, - -1, - -20212, - -1, - -15784, - -1, - -31142, - -1, - 1625, - 0, - 28014, - 0, - 12504, - 0, - -3395, - -1, - -5226, - -1, - -12614, - -1, - -23436, - -1, - 6453, - 0, - 4359, - 0, - -28409, - -1, - -5537, - -1, - -14548, - -1, - -21609, - -1, - 11158, - 0, - 1692, - 0, - 8766, - 0, - 13990, - 0, - 31575, - 0, - 19841, - 0, - 7887, - 0, - 24839, - 0, - -1475, - -1, - 31292, - 0, - 17133, - 0, - 9888, - 0, - 26432, - 0, - 988, - 0, - 14463, - 0, - -14108, - -1, - 18659, - 0, - 8085, - 0, - 18481, - 0, - -2574, - -1, - 24038, - 0, - -8730, - -1, - -25291, - -1, - 466, - 0, - 15231, - 0, - 20264, - 0, - -3927, - -1, - 9808, - 0, - 3480, - 0, - 30246, - 0, - 10099, - 0, - -5450, - -1, - 27317, - 0, - -5451, - -1, - 27316, - 0, - -5452, - -1, - -13879, - -1, - 18888, - 0, - 15319, - 0, - 30825, - 0, - 16382, - 0, - 8978, - 0, - -10061, - -1, - -32460, - -1, - -24651, - -1, - -13253, - -1, - -30085, - -1, - 536, - 0, - 18175, - 0, - 30359, - 0, - -676, - -1, - 24576, - 0, - 31820, - 0, - 23581, - 0, - -2296, - -1, - -11452, - -1, - 21315, - 0, - -11453, - -1, - -5795, - -1, - -27917, - -1, - 4850, - 0, - 9819, - 0, - -22949, - -1, - -18224, - -1, - 3634, - 0, - 2648, - 0, - 19795, - 0, - -12973, - -1, - 19794, - 0, - -3639, - -1, - 21140, - 0, - -11628, - -1, - -30346, - -1, - -29161, - -1, - -8343, - -1, - 24424, - 0, - -8344, - -1, - -8587, - -1, - -25607, - -1, - 7160, - 0, - 11488, - 0, - 17215, - 0, - 13976, - 0, - 10290, - 0, - 17938, - 0, - -14830, - -1, - 17937, - 0, - 15719, - 0, - 15691, - 0, - -6984, - -1, - 19717, - 0, - -7746, - -1, - -29560, - -1, - 3207, - 0, - -17398 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -21431, + -1, + 11336, + 0, + -12197, + -1, + -28408, + -1, + 4359, + 0, + 26397, + 0, + -6371, + -1, + -4151, + -1, + 21441, + 0, + 13511, + 0, + 23366, + 0, + -5557, + -1, + -8372, + -1, + 13708, + 0, + -19060, + -1, + -17078, + -1, + 6608, + 0, + 11039, + 0, + -21729, + -1, + 544, + 0, + -8853, + -1, + 114, + 0, + 30043, + 0, + -2725, + -1, + 30042, + 0, + -2726, + -1, + 17832, + 0, + -4950, + -1, + -12389, + -1, + 17734, + 0, + 12298, + 0, + -20470, + -1, + 12297, + 0, + 16585, + 0, + -7351, + -1, + 25416, + 0, + 9233, + 0, + -10904, + -1, + -32065, + -1, + 702, + 0, + -19068, + -1, + 13699, + 0, + 1644, + 0, + -2181, + -1, + -22037, + -1, + 10730, + 0, + -21896, + -1, + -5391, + -1, + 22040, + 0, + 27549, + 0, + 32055, + 0, + 30016, + 0, + 3668, + 0, + -19630, + -1, + 13137, + 0, + 19767, + 0, + 32133, + 0, + 9892, + 0, + -22876, + -1, + 190, + 0, + -3392, + -1, + 22475, + 0, + -7041, + -1, + -11234, + -1, + -27522, + -1, + 5245, + 0, + 16733, + 0, + -16035, + -1, + -4340, + -1, + -1330, + -1, + -2011, + -1, + 27455, + 0, + -5313, + -1, + -12692, + -1, + -20911, + -1, + -16772, + -1, + 15995, + 0, + 28883, + 0, + -3885, + -1, + 8656, + 0, + -17508, + -1, + -20149, + -1, + -13628, + -1, + -20029, + -1, + -643, + -1, + 32124, + 0, + 5665, + 0, + 14630, + 0, + -440, + -1, + -31857, + -1, + -27256, + -1, + -15148, + -1, + -16800, + -1, + 15967, + 0, + 22517, + 0, + 23207, + 0, + 9017, + 0, + 3681, + 0, + 9774, + 0, + -6108, + -1, + 11154, + 0, + 19296, + 0, + 17229, + 0, + 7459, + 0, + -25309, + -1, + 7458, + 0, + -8742, + -1, + 15968, + 0, + 2590, + 0, + 24981, + 0, + -7787, + -1, + 24980, + 0, + 22575, + 0, + -10193, + -1, + -1143, + -1, + 2054, + 0, + 17604, + 0, + 12396, + 0, + 23069, + 0, + -8529, + -1, + 314, + 0, + -4531, + -1, + 26840, + 0, + -5928, + -1, + 5709, + 0, + -24893, + -1, + 7874, + 0, + -7588, + -1, + -10448, + -1, + 5434, + 0, + -78, + -1, + 22804, + 0, + 2058, + 0, + 1113, + 0, + -25889, + -1, + -31331, + -1, + -6649, + -1, + 26118, + 0, + 27350, + 0, + 8452, + 0, + 8574, + 0, + -7111, + -1, + -21135, + -1, + -32208, + -1, + -10561, + -1, + -12028, + -1, + -20212, + -1, + -15784, + -1, + -31142, + -1, + 1625, + 0, + 28014, + 0, + 12504, + 0, + -3395, + -1, + -5226, + -1, + -12614, + -1, + -23436, + -1, + 6453, + 0, + 4359, + 0, + -28409, + -1, + -5537, + -1, + -14548, + -1, + -21609, + -1, + 11158, + 0, + 1692, + 0, + 8766, + 0, + 13990, + 0, + 31575, + 0, + 19841, + 0, + 7887, + 0, + 24839, + 0, + -1475, + -1, + 31292, + 0, + 17133, + 0, + 9888, + 0, + 26432, + 0, + 988, + 0, + 14463, + 0, + -14108, + -1, + 18659, + 0, + 8085, + 0, + 18481, + 0, + -2574, + -1, + 24038, + 0, + -8730, + -1, + -25291, + -1, + 466, + 0, + 15231, + 0, + 20264, + 0, + -3927, + -1, + 9808, + 0, + 3480, + 0, + 30246, + 0, + 10099, + 0, + -5450, + -1, + 27317, + 0, + -5451, + -1, + 27316, + 0, + -5452, + -1, + -13879, + -1, + 18888, + 0, + 15319, + 0, + 30825, + 0, + 16382, + 0, + 8978, + 0, + -10061, + -1, + -32460, + -1, + -24651, + -1, + -13253, + -1, + -30085, + -1, + 536, + 0, + 18175, + 0, + 30359, + 0, + -676, + -1, + 24576, + 0, + 31820, + 0, + 23581, + 0, + -2296, + -1, + -11452, + -1, + 21315, + 0, + -11453, + -1, + -5795, + -1, + -27917, + -1, + 4850, + 0, + 9819, + 0, + -22949, + -1, + -18224, + -1, + 3634, + 0, + 2648, + 0, + 19795, + 0, + -12973, + -1, + 19794, + 0, + -3639, + -1, + 21140, + 0, + -11628, + -1, + -30346, + -1, + -29161, + -1, + -8343, + -1, + 24424, + 0, + -8344, + -1, + -8587, + -1, + -25607, + -1, + 7160, + 0, + 11488, + 0, + 17215, + 0, + 13976, + 0, + 10290, + 0, + 17938, + 0, + -14830, + -1, + 17937, + 0, + 15719, + 0, + 15691, + 0, + -6984, + -1, + 19717, + 0, + -7746, + -1, + -29560, + -1, + 3207, + 0, + -17398 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 32, + 39 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 32, + 39 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -536,30 +565,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 32, - 39 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 32, - 39 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_63x16_i8/test.json b/operators/ew_binary/table/table_63x16_i8/test.json index f98441bb9..bc900a229 100644 --- a/operators/ew_binary/table/table_63x16_i8/test.json +++ b/operators/ew_binary/table/table_63x16_i8/test.json @@ -5,273 +5,302 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - 55, - 0, - 88, - 0, - 115, - 0, - -20, - -1, - -98, - -1, - -59, - -1, - 89, - 0, - 96, - 0, - 35, - 0, - -97, - -1, - -97, - -1, - -6, - -1, - 22, - 0, - -120, - -1, - 47, - 0, - 11, - 0, - -125, - -1, - -104, - -1, - -12, - -1, - 56, - 0, - 83, - 0, - -18, - -1, - -53, - -1, - 119, - 0, - -11, - -1, - -48, - -1, - -15, - -1, - -125, - -1, - -51, - -1, - 3, - 0, - 107, - 0, - 60, - 0, - 72, - 0, - 11, - 0, - -100, - -1, - -28, - -1, - 127, - 0, - -117, - -1, - 97, - 0, - 47, - 0, - -56, - -1, - 71, - 0, - 86, - 0, - -117, - -1, - -101, - -1, - 42, - 0, - 127, - 0, - -122, - -1, - 42, - 0, - -94, - -1, - 38, - 0, - 31, - 0, - -105, - -1, - 46, - 0, - 101, - 0, - 93, - 0, - -121, - -1, - -66, - -1, - -67, - -1, - -12, - -1, - -92, - -1, - 90, - 0, - 70, - 0, - 78, - 0, - -78, - -1, - -125, - -1, - 105, - 0, - -55, - -1, - 40, - 0, - 104, - 0, - -119, - -1, - -127, - -1, - -127, - -1, - -88, - -1, - -115, - -1, - 81, - 0, - 27, - 0, - 122, - 0, - 77, - 0, - 118, - 0, - -67, - -1, - -55, - -1, - 89, - 0, - -66, - -1, - -114, - -1, - 43, - 0, - 77, - 0, - 119, - 0, - 109, - 0, - -98, - -1, - 69, - 0, - 88, - 0, - 50, - 0, - 81, - 0, - 86, - 0, - -14, - -1, - -118, - -1, - -12, - -1, - -77, - -1, - -99, - -1, - -97, - -1, - 50, - 0, - 1, - 0, - 10, - 0, - 62, - 0, - 12, - 0, - 33, - 0, - -106, - -1, - 89, - 0, - -14, - -1, - -89, - -1, - 80, - 0, - 60, - 0, - -115, - -1, - -79, - -1, - -124, - -1, - -59, - -1, - -103, - -1, - 53, - 0, - 5, - 0, - 122, - 0, - 63, - 0, - 28, - 0, - 2, - 0, - -115, - -1, - -111, - -1, - 29, - 0, - -127, - -1 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + 55, + 0, + 88, + 0, + 115, + 0, + -20, + -1, + -98, + -1, + -59, + -1, + 89, + 0, + 96, + 0, + 35, + 0, + -97, + -1, + -97, + -1, + -6, + -1, + 22, + 0, + -120, + -1, + 47, + 0, + 11, + 0, + -125, + -1, + -104, + -1, + -12, + -1, + 56, + 0, + 83, + 0, + -18, + -1, + -53, + -1, + 119, + 0, + -11, + -1, + -48, + -1, + -15, + -1, + -125, + -1, + -51, + -1, + 3, + 0, + 107, + 0, + 60, + 0, + 72, + 0, + 11, + 0, + -100, + -1, + -28, + -1, + 127, + 0, + -117, + -1, + 97, + 0, + 47, + 0, + -56, + -1, + 71, + 0, + 86, + 0, + -117, + -1, + -101, + -1, + 42, + 0, + 127, + 0, + -122, + -1, + 42, + 0, + -94, + -1, + 38, + 0, + 31, + 0, + -105, + -1, + 46, + 0, + 101, + 0, + 93, + 0, + -121, + -1, + -66, + -1, + -67, + -1, + -12, + -1, + -92, + -1, + 90, + 0, + 70, + 0, + 78, + 0, + -78, + -1, + -125, + -1, + 105, + 0, + -55, + -1, + 40, + 0, + 104, + 0, + -119, + -1, + -127, + -1, + -127, + -1, + -88, + -1, + -115, + -1, + 81, + 0, + 27, + 0, + 122, + 0, + 77, + 0, + 118, + 0, + -67, + -1, + -55, + -1, + 89, + 0, + -66, + -1, + -114, + -1, + 43, + 0, + 77, + 0, + 119, + 0, + 109, + 0, + -98, + -1, + 69, + 0, + 88, + 0, + 50, + 0, + 81, + 0, + 86, + 0, + -14, + -1, + -118, + -1, + -12, + -1, + -77, + -1, + -99, + -1, + -97, + -1, + 50, + 0, + 1, + 0, + 10, + 0, + 62, + 0, + 12, + 0, + 33, + 0, + -106, + -1, + 89, + 0, + -14, + -1, + -89, + -1, + 80, + 0, + 60, + 0, + -115, + -1, + -79, + -1, + -124, + -1, + -59, + -1, + -103, + -1, + 53, + 0, + 5, + 0, + 122, + 0, + 63, + 0, + 28, + 0, + 2, + 0, + -115, + -1, + -111, + -1, + 29, + 0, + -127, + -1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 63, + 16 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 63, + 16 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -279,30 +308,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 63, - 16 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 63, - 16 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_7x13x11x13x7_i16/test.json b/operators/ew_binary/table/table_7x13x11x13x7_i16/test.json index 6d9d90913..9e7b7d0b2 100644 --- a/operators/ew_binary/table/table_7x13x11x13x7_i16/test.json +++ b/operators/ew_binary/table/table_7x13x11x13x7_i16/test.json @@ -5,530 +5,565 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -8372, - -1, - 13708, - 0, - -19060, - -1, - -17078, - -1, - 6608, - 0, - 11039, - 0, - -21729, - -1, - 544, - 0, - -8853, - -1, - 114, - 0, - 30043, - 0, - -2725, - -1, - 30042, - 0, - -2726, - -1, - 17832, - 0, - -4950, - -1, - -12389, - -1, - 17734, - 0, - 12298, - 0, - -20470, - -1, - 12297, - 0, - 16585, - 0, - -7351, - -1, - 25416, - 0, - 9233, - 0, - -10904, - -1, - -32065, - -1, - 702, - 0, - -19068, - -1, - 13699, - 0, - 1644, - 0, - -2181, - -1, - -22037, - -1, - 10730, - 0, - -21896, - -1, - -5391, - -1, - 22040, - 0, - 27549, - 0, - 32055, - 0, - 30016, - 0, - 3668, - 0, - -19630, - -1, - 13137, - 0, - 19767, - 0, - 32133, - 0, - 9892, - 0, - -22876, - -1, - 190, - 0, - -3392, - -1, - 22475, - 0, - -7041, - -1, - -11234, - -1, - -27522, - -1, - 5245, - 0, - 16733, - 0, - -16035, - -1, - -4340, - -1, - -1330, - -1, - -2011, - -1, - 27455, - 0, - -5313, - -1, - -12692, - -1, - -20911, - -1, - -16772, - -1, - 15995, - 0, - 28883, - 0, - -3885, - -1, - 8656, - 0, - -17508, - -1, - -20149, - -1, - -13628, - -1, - -20029, - -1, - -643, - -1, - 32124, - 0, - 5665, - 0, - 14630, - 0, - -440, - -1, - -31857, - -1, - -27256, - -1, - -15148, - -1, - -16800, - -1, - 15967, - 0, - 22517, - 0, - 23207, - 0, - 9017, - 0, - 3681, - 0, - 9774, - 0, - -6108, - -1, - 11154, - 0, - 19296, - 0, - 17229, - 0, - 7459, - 0, - -25309, - -1, - 7458, - 0, - -8742, - -1, - 15968, - 0, - 2590, - 0, - 24981, - 0, - -7787, - -1, - 24980, - 0, - 22575, - 0, - -10193, - -1, - -1143, - -1, - 2054, - 0, - 17604, - 0, - 12396, - 0, - 23069, - 0, - -8529, - -1, - 314, - 0, - -4531, - -1, - 26840, - 0, - -5928, - -1, - 5709, - 0, - -24893, - -1, - 7874, - 0, - -7588, - -1, - -10448, - -1, - 5434, - 0, - -78, - -1, - 22804, - 0, - 2058, - 0, - 1113, - 0, - -25889, - -1, - -31331, - -1, - -6649, - -1, - 26118, - 0, - 27350, - 0, - 8452, - 0, - 8574, - 0, - -7111, - -1, - -21135, - -1, - -32208, - -1, - -10561, - -1, - -12028, - -1, - -20212, - -1, - -15784, - -1, - -31142, - -1, - 1625, - 0, - 28014, - 0, - 12504, - 0, - -3395, - -1, - -5226, - -1, - -12614, - -1, - -23436, - -1, - 6453, - 0, - 4359, - 0, - -28409, - -1, - -5537, - -1, - -14548, - -1, - -21609, - -1, - 11158, - 0, - 1692, - 0, - 8766, - 0, - 13990, - 0, - 31575, - 0, - 19841, - 0, - 7887, - 0, - 24839, - 0, - -1475, - -1, - 31292, - 0, - 17133, - 0, - 9888, - 0, - 26432, - 0, - 988, - 0, - 14463, - 0, - -14108, - -1, - 18659, - 0, - 8085, - 0, - 18481, - 0, - -2574, - -1, - 24038, - 0, - -8730, - -1, - -25291, - -1, - 466, - 0, - 15231, - 0, - 20264, - 0, - -3927, - -1, - 9808, - 0, - 3480, - 0, - 30246, - 0, - 10099, - 0, - -5450, - -1, - 27317, - 0, - -5451, - -1, - 27316, - 0, - -5452, - -1, - -13879, - -1, - 18888, - 0, - 15319, - 0, - 30825, - 0, - 16382, - 0, - 8978, - 0, - -10061, - -1, - -32460, - -1, - -24651, - -1, - -13253, - -1, - -30085, - -1, - 536, - 0, - 18175, - 0, - 30359, - 0, - -676, - -1, - 24576, - 0, - 31820, - 0, - 23581, - 0, - -2296, - -1, - -11452, - -1, - 21315, - 0, - -11453, - -1, - -5795, - -1, - -27917, - -1, - 4850, - 0, - 9819, - 0, - -22949, - -1, - -18224, - -1, - 3634, - 0, - 2648, - 0, - 19795, - 0, - -12973, - -1, - 19794, - 0, - -3639, - -1, - 21140, - 0, - -11628, - -1, - -30346, - -1, - -29161, - -1, - -8343, - -1, - 24424, - 0, - -8344, - -1, - -8587, - -1, - -25607, - -1, - 7160, - 0, - 11488, - 0, - 17215, - 0, - 13976, - 0, - 10290, - 0, - 17938, - 0, - -14830, - -1, - 17937, - 0, - 15719, - 0, - 15691, - 0, - -6984, - -1, - 19717, - 0, - -7746, - -1, - -29560, - -1, - 3207, - 0, - -17398, - -1, - -26090, - -1, - 6677, - 0, - -17456, - -1, - 15311, - 0, - -3687, - -1, - -32474, - -1, - 293, - 0, - 958, - 0, - -15534, - -1, - 11618, - 0, - 2006, - 0, - -30762 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -8372, + -1, + 13708, + 0, + -19060, + -1, + -17078, + -1, + 6608, + 0, + 11039, + 0, + -21729, + -1, + 544, + 0, + -8853, + -1, + 114, + 0, + 30043, + 0, + -2725, + -1, + 30042, + 0, + -2726, + -1, + 17832, + 0, + -4950, + -1, + -12389, + -1, + 17734, + 0, + 12298, + 0, + -20470, + -1, + 12297, + 0, + 16585, + 0, + -7351, + -1, + 25416, + 0, + 9233, + 0, + -10904, + -1, + -32065, + -1, + 702, + 0, + -19068, + -1, + 13699, + 0, + 1644, + 0, + -2181, + -1, + -22037, + -1, + 10730, + 0, + -21896, + -1, + -5391, + -1, + 22040, + 0, + 27549, + 0, + 32055, + 0, + 30016, + 0, + 3668, + 0, + -19630, + -1, + 13137, + 0, + 19767, + 0, + 32133, + 0, + 9892, + 0, + -22876, + -1, + 190, + 0, + -3392, + -1, + 22475, + 0, + -7041, + -1, + -11234, + -1, + -27522, + -1, + 5245, + 0, + 16733, + 0, + -16035, + -1, + -4340, + -1, + -1330, + -1, + -2011, + -1, + 27455, + 0, + -5313, + -1, + -12692, + -1, + -20911, + -1, + -16772, + -1, + 15995, + 0, + 28883, + 0, + -3885, + -1, + 8656, + 0, + -17508, + -1, + -20149, + -1, + -13628, + -1, + -20029, + -1, + -643, + -1, + 32124, + 0, + 5665, + 0, + 14630, + 0, + -440, + -1, + -31857, + -1, + -27256, + -1, + -15148, + -1, + -16800, + -1, + 15967, + 0, + 22517, + 0, + 23207, + 0, + 9017, + 0, + 3681, + 0, + 9774, + 0, + -6108, + -1, + 11154, + 0, + 19296, + 0, + 17229, + 0, + 7459, + 0, + -25309, + -1, + 7458, + 0, + -8742, + -1, + 15968, + 0, + 2590, + 0, + 24981, + 0, + -7787, + -1, + 24980, + 0, + 22575, + 0, + -10193, + -1, + -1143, + -1, + 2054, + 0, + 17604, + 0, + 12396, + 0, + 23069, + 0, + -8529, + -1, + 314, + 0, + -4531, + -1, + 26840, + 0, + -5928, + -1, + 5709, + 0, + -24893, + -1, + 7874, + 0, + -7588, + -1, + -10448, + -1, + 5434, + 0, + -78, + -1, + 22804, + 0, + 2058, + 0, + 1113, + 0, + -25889, + -1, + -31331, + -1, + -6649, + -1, + 26118, + 0, + 27350, + 0, + 8452, + 0, + 8574, + 0, + -7111, + -1, + -21135, + -1, + -32208, + -1, + -10561, + -1, + -12028, + -1, + -20212, + -1, + -15784, + -1, + -31142, + -1, + 1625, + 0, + 28014, + 0, + 12504, + 0, + -3395, + -1, + -5226, + -1, + -12614, + -1, + -23436, + -1, + 6453, + 0, + 4359, + 0, + -28409, + -1, + -5537, + -1, + -14548, + -1, + -21609, + -1, + 11158, + 0, + 1692, + 0, + 8766, + 0, + 13990, + 0, + 31575, + 0, + 19841, + 0, + 7887, + 0, + 24839, + 0, + -1475, + -1, + 31292, + 0, + 17133, + 0, + 9888, + 0, + 26432, + 0, + 988, + 0, + 14463, + 0, + -14108, + -1, + 18659, + 0, + 8085, + 0, + 18481, + 0, + -2574, + -1, + 24038, + 0, + -8730, + -1, + -25291, + -1, + 466, + 0, + 15231, + 0, + 20264, + 0, + -3927, + -1, + 9808, + 0, + 3480, + 0, + 30246, + 0, + 10099, + 0, + -5450, + -1, + 27317, + 0, + -5451, + -1, + 27316, + 0, + -5452, + -1, + -13879, + -1, + 18888, + 0, + 15319, + 0, + 30825, + 0, + 16382, + 0, + 8978, + 0, + -10061, + -1, + -32460, + -1, + -24651, + -1, + -13253, + -1, + -30085, + -1, + 536, + 0, + 18175, + 0, + 30359, + 0, + -676, + -1, + 24576, + 0, + 31820, + 0, + 23581, + 0, + -2296, + -1, + -11452, + -1, + 21315, + 0, + -11453, + -1, + -5795, + -1, + -27917, + -1, + 4850, + 0, + 9819, + 0, + -22949, + -1, + -18224, + -1, + 3634, + 0, + 2648, + 0, + 19795, + 0, + -12973, + -1, + 19794, + 0, + -3639, + -1, + 21140, + 0, + -11628, + -1, + -30346, + -1, + -29161, + -1, + -8343, + -1, + 24424, + 0, + -8344, + -1, + -8587, + -1, + -25607, + -1, + 7160, + 0, + 11488, + 0, + 17215, + 0, + 13976, + 0, + 10290, + 0, + 17938, + 0, + -14830, + -1, + 17937, + 0, + 15719, + 0, + 15691, + 0, + -6984, + -1, + 19717, + 0, + -7746, + -1, + -29560, + -1, + 3207, + 0, + -17398, + -1, + -26090, + -1, + 6677, + 0, + -17456, + -1, + 15311, + 0, + -3687, + -1, + -32474, + -1, + 293, + 0, + 958, + 0, + -15534, + -1, + 11618, + 0, + 2006, + 0, + -30762 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 13, + 11, + 13, + 7 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 7, + 13, + 11, + 13, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -536,36 +571,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 13, - 11, - 13, - 7 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 7, - 13, - 11, - 13, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_ERRORIF_WrongInputList_12_i8/test.json b/operators/ew_binary/table/table_ERRORIF_WrongInputList_12_i8/test.json index c9cb2215c..c0866c397 100644 --- a/operators/ew_binary/table/table_ERRORIF_WrongInputList_12_i8/test.json +++ b/operators/ew_binary/table/table_ERRORIF_WrongInputList_12_i8/test.json @@ -5,303 +5,308 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -21, - -1, - -101, - -1, - 76, - 0, - 107, - 0, - 124, - 0, - -103, - -1, - 16, - 0, - 31, - 0, - -108, - -1, - 115, - 0, - -102, - -1, - -60, - -1, - 119, - 0, - 14, - 0, - 45, - 0, - -2, - -1, - 64, - 0, - -108, - -1, - 44, - 0, - -111, - -1, - -83, - -1, - 1, - 0, - -14, - -1, - -89, - -1, - 76, - 0, - -51, - -1, - 93, - 0, - -125, - -1, - -68, - -1, - -53, - -1, - 24, - 0, - -26, - -1, - -88, - -1, - 18, - 0, - 117, - 0, - -94, - -1, - -64, - -1, - -6, - -1, - 58, - 0, - -94, - -1, - -69, - -1, - -68, - -1, - 29, - 0, - -107, - -1, - 40, - 0, - -20, - -1, - -44, - -1, - 92, - 0, - 81, - 0, - 77, - 0, - 98, - 0, - -69, - -1, - 90, - 0, - -83, - -1, - -44, - -1, - 14, - 0, - 62, - 0, - 19, - 0, - 15, - 0, - -32, - -1, - 23, - 0, - -7, - -1, - -6, - -1, - 21, - 0, - 25, - 0, - -44, - -1, - -94, - -1, - -52, - -1, - -24, - -1, - -87, - -1, - -83, - -1, - 115, - 0, - -57, - -1, - 61, - 0, - -96, - -1, - 120, - 0, - -74, - -1, - -28, - -1, - 72, - 0, - -77, - -1, - 12, - 0, - 73, - 0, - -122, - -1, - -122, - -1, - 73, - 0, - -61, - -1, - 104, - 0, - 109, - 0, - 97, - 0, - 127, - 0, - 82, - 0, - -30, - -1, - 126, - 0, - -40, - -1, - 22, - 0, - -127, - -1, - 118, - 0, - 23, - 0, - 114, - 0, - -38, - -1, - -48, - -1, - 5, - 0, - 93, - 0, - 12, - 0, - 74, - 0, - -74, - -1, - 70, - 0, - 59, - 0, - 101, - 0, - -114, - -1, - -30, - -1, - -106, - -1, - -26, - -1, - 66, - 0, - 35, - 0, - 64, - 0, - 60, - 0, - 126, - 0, - 97, - 0, - 22, - 0, - 96, - 0, - -116, - -1, - 56, - 0, - 5, - 0, - 116, - 0, - 0, - 0, - -83, - -1, - 57, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -21, + -1, + -101, + -1, + 76, + 0, + 107, + 0, + 124, + 0, + -103, + -1, + 16, + 0, + 31, + 0, + -108, + -1, + 115, + 0, + -102, + -1, + -60, + -1, + 119, + 0, + 14, + 0, + 45, + 0, + -2, + -1, + 64, + 0, + -108, + -1, + 44, + 0, + -111, + -1, + -83, + -1, + 1, + 0, + -14, + -1, + -89, + -1, + 76, + 0, + -51, + -1, + 93, + 0, + -125, + -1, + -68, + -1, + -53, + -1, + 24, + 0, + -26, + -1, + -88, + -1, + 18, + 0, + 117, + 0, + -94, + -1, + -64, + -1, + -6, + -1, + 58, + 0, + -94, + -1, + -69, + -1, + -68, + -1, + 29, + 0, + -107, + -1, + 40, + 0, + -20, + -1, + -44, + -1, + 92, + 0, + 81, + 0, + 77, + 0, + 98, + 0, + -69, + -1, + 90, + 0, + -83, + -1, + -44, + -1, + 14, + 0, + 62, + 0, + 19, + 0, + 15, + 0, + -32, + -1, + 23, + 0, + -7, + -1, + -6, + -1, + 21, + 0, + 25, + 0, + -44, + -1, + -94, + -1, + -52, + -1, + -24, + -1, + -87, + -1, + -83, + -1, + 115, + 0, + -57, + -1, + 61, + 0, + -96, + -1, + 120, + 0, + -74, + -1, + -28, + -1, + 72, + 0, + -77, + -1, + 12, + 0, + 73, + 0, + -122, + -1, + -122, + -1, + 73, + 0, + -61, + -1, + 104, + 0, + 109, + 0, + 97, + 0, + 127, + 0, + 82, + 0, + -30, + -1, + 126, + 0, + -40, + -1, + 22, + 0, + -127, + -1, + 118, + 0, + 23, + 0, + 114, + 0, + -38, + -1, + -48, + -1, + 5, + 0, + 93, + 0, + 12, + 0, + 74, + 0, + -74, + -1, + 70, + 0, + 59, + 0, + 101, + 0, + -114, + -1, + -30, + -1, + -106, + -1, + -26, + -1, + 66, + 0, + 35, + 0, + 64, + 0, + 60, + 0, + 126, + 0, + 97, + 0, + 22, + 0, + 96, + 0, + -116, + -1, + 56, + 0, + 5, + 0, + 116, + 0, + 0, + 0, + -83, + -1, + 57, + 0 + ] + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ - "input-0", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_ERRORIF_WrongInputType_10x10x11x3_i48/test.json b/operators/ew_binary/table/table_ERRORIF_WrongInputType_10x10x11x3_i48/test.json index 4eb8a1869..f91be143d 100644 --- a/operators/ew_binary/table/table_ERRORIF_WrongInputType_10x10x11x3_i48/test.json +++ b/operators/ew_binary/table/table_ERRORIF_WrongInputType_10x10x11x3_i48/test.json @@ -5,530 +5,563 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -26984, - -1, - 5783, - 0, - -26985, - -1, - 5782, - 0, - -24253, - -1, - -15563, - -1, - 13615, - 0, - 8052, - 0, - 18450, - 0, - 7271, - 0, - -25497, - -1, - 7270, - 0, - -18629, - -1, - -23851, - -1, - 8916, - 0, - -20000, - -1, - 2364, - 0, - -920, - -1, - 17662, - 0, - -15106, - -1, - -25776, - -1, - -5532, - -1, - -1753, - -1, - 18888, - 0, - 6929, - 0, - -23022, - -1, - 9745, - 0, - -2625, - -1, - 30142, - 0, - 32097, - 0, - -671, - -1, - 387, - 0, - -5110, - -1, - -110, - -1, - -12456, - -1, - 3853, - 0, - -512, - -1, - -20579, - -1, - -13861, - -1, - -23124, - -1, - 9643, - 0, - 11623, - 0, - -7371, - -1, - -6832, - -1, - -27585, - -1, - -13769, - -1, - 18998, - 0, - -13770, - -1, - -23192, - -1, - 9575, - 0, - 1332, - 0, - -30650, - -1, - -671, - -1, - 16382, - 0, - -10154, - -1, - -7734, - -1, - 8606, - 0, - 6467, - 0, - 26405, - 0, - -6363, - -1, - -14676, - -1, - -22584, - -1, - 10183, - 0, - 2188, - 0, - -10031, - -1, - 12820, - 0, - -8082, - -1, - -19957, - -1, - 2611, - 0, - -4171, - -1, - -6200, - -1, - -3628, - -1, - 27145, - 0, - -5623, - -1, - -14693, - -1, - 4263, - 0, - -28505, - -1, - -23204, - -1, - 4347, - 0, - 638, - 0, - 10015, - 0, - -22753, - -1, - 10014, - 0, - -948, - -1, - -22609, - -1, - -12348, - -1, - -17862, - -1, - -3130, - -1, - -2007, - -1, - -4342, - -1, - -2556, - -1, - 26734, - 0, - 30090, - 0, - -660, - -1, - 30344, - 0, - 20873, - 0, - 20968, - 0, - -11800, - -1, - -4036, - -1, - -9694, - -1, - -26447, - -1, - -27847, - -1, - 4920, - 0, - -5194, - -1, - 21346, - 0, - 11055, - 0, - -21713, - -1, - 11054, - 0, - -256, - -1, - 4319, - 0, - 30519, - 0, - 9179, - 0, - -23589, - -1, - -21151, - -1, - -4827, - -1, - -30330, - -1, - -21793, - -1, - 10974, - 0, - -21794, - -1, - -21821, - -1, - 306, - 0, - -26794, - -1, - -16012, - -1, - 16755, - 0, - 8616, - 0, - 30377, - 0, - -2391, - -1, - 7619, - 0, - -17134, - -1, - -7954, - -1, - -21322, - -1, - 11445, - 0, - -20707, - -1, - -19352, - -1, - -2372, - -1, - -4628, - -1, - -12201, - -1, - -9371, - -1, - -13434, - -1, - 19333, - 0, - 5267, - 0, - 27510, - 0, - 31903, - 0, - 9888, - 0, - 21342, - 0, - -11426, - -1, - 21341, - 0, - -1168, - -1, - 13987, - 0, - -16691, - -1, - -26510, - -1, - 6257, - 0, - -3313, - -1, - -23698, - -1, - 9069, - 0, - -23699, - -1, - -3246, - -1, - 13397, - 0, - 14445, - 0, - -3062, - -1, - -8523, - -1, - 22175, - 0, - -10593, - -1, - -27878, - -1, - -22490, - -1, - 10277, - 0, - -1973, - -1, - -30322, - -1, - -21708, - -1, - -30929, - -1, - 1838, - 0, - -2536, - -1, - -28308, - -1, - -18266, - -1, - 7632, - 0, - 6141, - 0, - 20924, - 0, - -11844, - -1, - -28220, - -1, - -30449, - -1, - -6943, - -1, - 14886, - 0, - 10682, - 0, - -18995, - -1, - 10304, - 0, - 10250, - 0, - -20226, - -1, - 12541, - 0, - -5093, - -1, - -28880, - -1, - -7171, - -1, - 17678, - 0, - 12858, - 0, - -15177, - -1, - 16836, - 0, - -7239, - -1, - -2606, - -1, - -27091, - -1, - 5676, - 0, - 22192, - 0, - -10576, - -1, - 3979, - 0, - 18373, - 0, - 305, - 0, - -18954, - -1, - 13813, - 0, - -15152, - -1, - -10846, - -1, - -8414, - -1, - 24353, - 0, - 0, - 0, - 14397, - 0, - 26293, - 0, - 28084, - 0, - 23359, - 0, - 26725, - 0, - 29374, - 0, - 32180, - 0, - 9377, - 0, - -23391, - -1, - -25342, - -1, - 7425, - 0, - -12050, - -1, - 19955, - 0, - 28490, - 0, - 9461, - 0, - 17321, - 0, - -14493, - -1, - -4291, - -1, - 28476, - 0, - 20765, - 0, - -12003, - -1, - 20764, - 0, - -28, - -1, - 22535, - 0, - 1408, - 0, - 6808, - 0, - -22163, - -1, - -10574, - -1, - 14583, - 0, - 22439, - 0, - -10329, - -1, - -27731, - -1, - 5036, - 0, - -3468, - -1, - 22846, - 0, - -9922, - -1, - -9870, - -1, - -30446, - -1, - 2321, - 0, - 23452, - 0, - -9316, - -1, - -11537, - -1, - 21230, - 0, - -11538, - -1, - 21229, - 0, - 25361 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -26984, + -1, + 5783, + 0, + -26985, + -1, + 5782, + 0, + -24253, + -1, + -15563, + -1, + 13615, + 0, + 8052, + 0, + 18450, + 0, + 7271, + 0, + -25497, + -1, + 7270, + 0, + -18629, + -1, + -23851, + -1, + 8916, + 0, + -20000, + -1, + 2364, + 0, + -920, + -1, + 17662, + 0, + -15106, + -1, + -25776, + -1, + -5532, + -1, + -1753, + -1, + 18888, + 0, + 6929, + 0, + -23022, + -1, + 9745, + 0, + -2625, + -1, + 30142, + 0, + 32097, + 0, + -671, + -1, + 387, + 0, + -5110, + -1, + -110, + -1, + -12456, + -1, + 3853, + 0, + -512, + -1, + -20579, + -1, + -13861, + -1, + -23124, + -1, + 9643, + 0, + 11623, + 0, + -7371, + -1, + -6832, + -1, + -27585, + -1, + -13769, + -1, + 18998, + 0, + -13770, + -1, + -23192, + -1, + 9575, + 0, + 1332, + 0, + -30650, + -1, + -671, + -1, + 16382, + 0, + -10154, + -1, + -7734, + -1, + 8606, + 0, + 6467, + 0, + 26405, + 0, + -6363, + -1, + -14676, + -1, + -22584, + -1, + 10183, + 0, + 2188, + 0, + -10031, + -1, + 12820, + 0, + -8082, + -1, + -19957, + -1, + 2611, + 0, + -4171, + -1, + -6200, + -1, + -3628, + -1, + 27145, + 0, + -5623, + -1, + -14693, + -1, + 4263, + 0, + -28505, + -1, + -23204, + -1, + 4347, + 0, + 638, + 0, + 10015, + 0, + -22753, + -1, + 10014, + 0, + -948, + -1, + -22609, + -1, + -12348, + -1, + -17862, + -1, + -3130, + -1, + -2007, + -1, + -4342, + -1, + -2556, + -1, + 26734, + 0, + 30090, + 0, + -660, + -1, + 30344, + 0, + 20873, + 0, + 20968, + 0, + -11800, + -1, + -4036, + -1, + -9694, + -1, + -26447, + -1, + -27847, + -1, + 4920, + 0, + -5194, + -1, + 21346, + 0, + 11055, + 0, + -21713, + -1, + 11054, + 0, + -256, + -1, + 4319, + 0, + 30519, + 0, + 9179, + 0, + -23589, + -1, + -21151, + -1, + -4827, + -1, + -30330, + -1, + -21793, + -1, + 10974, + 0, + -21794, + -1, + -21821, + -1, + 306, + 0, + -26794, + -1, + -16012, + -1, + 16755, + 0, + 8616, + 0, + 30377, + 0, + -2391, + -1, + 7619, + 0, + -17134, + -1, + -7954, + -1, + -21322, + -1, + 11445, + 0, + -20707, + -1, + -19352, + -1, + -2372, + -1, + -4628, + -1, + -12201, + -1, + -9371, + -1, + -13434, + -1, + 19333, + 0, + 5267, + 0, + 27510, + 0, + 31903, + 0, + 9888, + 0, + 21342, + 0, + -11426, + -1, + 21341, + 0, + -1168, + -1, + 13987, + 0, + -16691, + -1, + -26510, + -1, + 6257, + 0, + -3313, + -1, + -23698, + -1, + 9069, + 0, + -23699, + -1, + -3246, + -1, + 13397, + 0, + 14445, + 0, + -3062, + -1, + -8523, + -1, + 22175, + 0, + -10593, + -1, + -27878, + -1, + -22490, + -1, + 10277, + 0, + -1973, + -1, + -30322, + -1, + -21708, + -1, + -30929, + -1, + 1838, + 0, + -2536, + -1, + -28308, + -1, + -18266, + -1, + 7632, + 0, + 6141, + 0, + 20924, + 0, + -11844, + -1, + -28220, + -1, + -30449, + -1, + -6943, + -1, + 14886, + 0, + 10682, + 0, + -18995, + -1, + 10304, + 0, + 10250, + 0, + -20226, + -1, + 12541, + 0, + -5093, + -1, + -28880, + -1, + -7171, + -1, + 17678, + 0, + 12858, + 0, + -15177, + -1, + 16836, + 0, + -7239, + -1, + -2606, + -1, + -27091, + -1, + 5676, + 0, + 22192, + 0, + -10576, + -1, + 3979, + 0, + 18373, + 0, + 305, + 0, + -18954, + -1, + 13813, + 0, + -15152, + -1, + -10846, + -1, + -8414, + -1, + 24353, + 0, + 0, + 0, + 14397, + 0, + 26293, + 0, + 28084, + 0, + 23359, + 0, + 26725, + 0, + 29374, + 0, + 32180, + 0, + 9377, + 0, + -23391, + -1, + -25342, + -1, + 7425, + 0, + -12050, + -1, + 19955, + 0, + 28490, + 0, + 9461, + 0, + 17321, + 0, + -14493, + -1, + -4291, + -1, + 28476, + 0, + 20765, + 0, + -12003, + -1, + 20764, + 0, + -28, + -1, + 22535, + 0, + 1408, + 0, + 6808, + 0, + -22163, + -1, + -10574, + -1, + 14583, + 0, + 22439, + 0, + -10329, + -1, + -27731, + -1, + 5036, + 0, + -3468, + -1, + 22846, + 0, + -9922, + -1, + -9870, + -1, + -30446, + -1, + 2321, + 0, + 23452, + 0, + -9316, + -1, + -11537, + -1, + 21230, + 0, + -11538, + -1, + 21229, + 0, + 25361 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10, + 11, + 3 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 10, + 10, + 11, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -536,34 +569,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10, - 11, - 3 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 10, - 10, - 11, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_ERRORIF_WrongOutputList_14x15x3_i8/test.json b/operators/ew_binary/table/table_ERRORIF_WrongOutputList_14x15x3_i8/test.json index 9ead54cb6..686e34936 100644 --- a/operators/ew_binary/table/table_ERRORIF_WrongOutputList_14x15x3_i8/test.json +++ b/operators/ew_binary/table/table_ERRORIF_WrongOutputList_14x15x3_i8/test.json @@ -5,307 +5,312 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - 59, - 0, - 0, - 0, - 23, - 0, - 2, - 0, - 93, - 0, - -15, - -1, - 22, - 0, - 43, - 0, - 13, - 0, - 97, - 0, - -68, - -1, - 114, - 0, - 45, - 0, - 117, - 0, - -33, - -1, - -6, - -1, - -117, - -1, - 108, - 0, - 80, - 0, - -53, - -1, - -115, - -1, - 50, - 0, - 44, - 0, - 7, - 0, - -88, - -1, - 107, - 0, - -18, - -1, - 57, - 0, - 91, - 0, - 12, - 0, - -104, - -1, - 99, - 0, - 42, - 0, - 100, - 0, - 28, - 0, - 104, - 0, - 94, - 0, - -73, - -1, - -84, - -1, - -87, - -1, - 76, - 0, - -67, - -1, - -13, - -1, - 73, - 0, - -19, - -1, - -113, - -1, - -36, - -1, - -104, - -1, - -30, - -1, - 60, - 0, - 5, - 0, - 44, - 0, - -101, - -1, - 64, - 0, - -20, - -1, - -55, - -1, - 38, - 0, - -94, - -1, - -1, - -1, - -20, - -1, - -86, - -1, - 115, - 0, - -36, - -1, - -118, - -1, - -15, - -1, - 119, - 0, - 43, - 0, - 35, - 0, - 102, - 0, - -107, - -1, - 12, - 0, - -46, - -1, - 45, - 0, - 90, - 0, - -109, - -1, - -88, - -1, - 116, - 0, - -3, - -1, - -48, - -1, - -90, - -1, - -38, - -1, - -127, - -1, - -71, - -1, - -82, - -1, - -107, - -1, - 120, - 0, - 74, - 0, - 112, - 0, - -67, - -1, - -55, - -1, - -56, - -1, - 14, - 0, - -82, - -1, - -68, - -1, - 121, - 0, - -38, - -1, - 71, - 0, - -70, - -1, - 110, - 0, - 49, - 0, - 92, - 0, - 4, - 0, - 104, - 0, - -36, - -1, - -6, - -1, - -113, - -1, - -85, - -1, - 69, - 0, - -45, - -1, - -102, - -1, - -54, - -1, - -38, - -1, - 55, - 0, - -105, - -1, - -122, - -1, - 57, - 0, - -92, - -1, - -21, - -1, - 46, - 0, - 3, - 0, - -97, - -1, - 56, - 0, - -116, - -1, - -69, - -1, - -101, - -1, - 3, - 0, - 48, - 0, - 38, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + 59, + 0, + 0, + 0, + 23, + 0, + 2, + 0, + 93, + 0, + -15, + -1, + 22, + 0, + 43, + 0, + 13, + 0, + 97, + 0, + -68, + -1, + 114, + 0, + 45, + 0, + 117, + 0, + -33, + -1, + -6, + -1, + -117, + -1, + 108, + 0, + 80, + 0, + -53, + -1, + -115, + -1, + 50, + 0, + 44, + 0, + 7, + 0, + -88, + -1, + 107, + 0, + -18, + -1, + 57, + 0, + 91, + 0, + 12, + 0, + -104, + -1, + 99, + 0, + 42, + 0, + 100, + 0, + 28, + 0, + 104, + 0, + 94, + 0, + -73, + -1, + -84, + -1, + -87, + -1, + 76, + 0, + -67, + -1, + -13, + -1, + 73, + 0, + -19, + -1, + -113, + -1, + -36, + -1, + -104, + -1, + -30, + -1, + 60, + 0, + 5, + 0, + 44, + 0, + -101, + -1, + 64, + 0, + -20, + -1, + -55, + -1, + 38, + 0, + -94, + -1, + -1, + -1, + -20, + -1, + -86, + -1, + 115, + 0, + -36, + -1, + -118, + -1, + -15, + -1, + 119, + 0, + 43, + 0, + 35, + 0, + 102, + 0, + -107, + -1, + 12, + 0, + -46, + -1, + 45, + 0, + 90, + 0, + -109, + -1, + -88, + -1, + 116, + 0, + -3, + -1, + -48, + -1, + -90, + -1, + -38, + -1, + -127, + -1, + -71, + -1, + -82, + -1, + -107, + -1, + 120, + 0, + 74, + 0, + 112, + 0, + -67, + -1, + -55, + -1, + -56, + -1, + 14, + 0, + -82, + -1, + -68, + -1, + 121, + 0, + -38, + -1, + 71, + 0, + -70, + -1, + 110, + 0, + 49, + 0, + 92, + 0, + 4, + 0, + 104, + 0, + -36, + -1, + -6, + -1, + -113, + -1, + -85, + -1, + 69, + 0, + -45, + -1, + -102, + -1, + -54, + -1, + -38, + -1, + 55, + 0, + -105, + -1, + -122, + -1, + 57, + 0, + -92, + -1, + -21, + -1, + 46, + 0, + 3, + 0, + -97, + -1, + 56, + 0, + -116, + -1, + -69, + -1, + -101, + -1, + 3, + 0, + 48, + 0, + 38, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 15, + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 14, + 15, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 15, - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 14, - 15, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/table/table_ERRORIF_WrongOutputType_11x3x13x7_i8/test.json b/operators/ew_binary/table/table_ERRORIF_WrongOutputType_11x3x13x7_i8/test.json index 4b2754ad4..492b4ed74 100644 --- a/operators/ew_binary/table/table_ERRORIF_WrongOutputType_11x3x13x7_i8/test.json +++ b/operators/ew_binary/table/table_ERRORIF_WrongOutputType_11x3x13x7_i8/test.json @@ -5,273 +5,306 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -24, - -1, - -29, - -1, - -20, - -1, - 42, - 0, - -1, - -1, - -96, - -1, - 16, - 0, - -60, - -1, - -101, - -1, - 87, - 0, - -48, - -1, - 24, - 0, - -84, - -1, - -42, - -1, - -30, - -1, - -94, - -1, - 121, - 0, - -49, - -1, - 21, - 0, - 16, - 0, - -19, - -1, - 21, - 0, - 16, - 0, - -108, - -1, - 43, - 0, - -99, - -1, - -17, - -1, - -35, - -1, - -14, - -1, - -110, - -1, - 51, - 0, - -21, - -1, - -113, - -1, - -128, - -1, - 10, - 0, - 42, - 0, - 12, - 0, - 56, - 0, - 65, - 0, - 95, - 0, - 123, - 0, - 98, - 0, - 75, - 0, - -18, - -1, - 0, - 0, - 29, - 0, - -85, - -1, - 45, - 0, - 22, - 0, - 5, - 0, - 85, - 0, - 47, - 0, - 110, - 0, - 121, - 0, - 83, - 0, - -52, - -1, - -80, - -1, - -52, - -1, - 54, - 0, - 93, - 0, - 97, - 0, - 47, - 0, - 46, - 0, - 115, - 0, - 47, - 0, - -92, - -1, - 0, - 0, - -37, - -1, - 35, - 0, - 34, - 0, - -53, - -1, - -52, - -1, - -106, - -1, - -53, - -1, - 83, - 0, - 39, - 0, - 113, - 0, - 109, - 0, - 91, - 0, - -83, - -1, - -43, - -1, - -114, - -1, - -105, - -1, - -69, - -1, - -57, - -1, - -125, - -1, - 87, - 0, - 6, - 0, - 39, - 0, - 39, - 0, - 119, - 0, - -91, - -1, - -41, - -1, - -50, - -1, - 13, - 0, - 6, - 0, - 74, - 0, - 15, - 0, - -69, - -1, - 16, - 0, - 118, - 0, - 20, - 0, - 23, - 0, - -83, - -1, - -126, - -1, - -75, - -1, - -122, - -1, - -13, - -1, - 97, - 0, - -14, - -1, - 37, - 0, - 91, - 0, - 67, - 0, - 38, - 0, - 72, - 0, - -57, - -1, - -21, - -1, - -26, - -1, - 76, - 0, - -24, - -1, - 112, - 0, - -81, - -1, - -84, - -1, - 55, - 0, - 67, - 0, - 45, - 0, - -50, - -1, - -126, - -1 - ] - }, + name: "main", + operators: [ + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -24, + -1, + -29, + -1, + -20, + -1, + 42, + 0, + -1, + -1, + -96, + -1, + 16, + 0, + -60, + -1, + -101, + -1, + 87, + 0, + -48, + -1, + 24, + 0, + -84, + -1, + -42, + -1, + -30, + -1, + -94, + -1, + 121, + 0, + -49, + -1, + 21, + 0, + 16, + 0, + -19, + -1, + 21, + 0, + 16, + 0, + -108, + -1, + 43, + 0, + -99, + -1, + -17, + -1, + -35, + -1, + -14, + -1, + -110, + -1, + 51, + 0, + -21, + -1, + -113, + -1, + -128, + -1, + 10, + 0, + 42, + 0, + 12, + 0, + 56, + 0, + 65, + 0, + 95, + 0, + 123, + 0, + 98, + 0, + 75, + 0, + -18, + -1, + 0, + 0, + 29, + 0, + -85, + -1, + 45, + 0, + 22, + 0, + 5, + 0, + 85, + 0, + 47, + 0, + 110, + 0, + 121, + 0, + 83, + 0, + -52, + -1, + -80, + -1, + -52, + -1, + 54, + 0, + 93, + 0, + 97, + 0, + 47, + 0, + 46, + 0, + 115, + 0, + 47, + 0, + -92, + -1, + 0, + 0, + -37, + -1, + 35, + 0, + 34, + 0, + -53, + -1, + -52, + -1, + -106, + -1, + -53, + -1, + 83, + 0, + 39, + 0, + 113, + 0, + 109, + 0, + 91, + 0, + -83, + -1, + -43, + -1, + -114, + -1, + -105, + -1, + -69, + -1, + -57, + -1, + -125, + -1, + 87, + 0, + 6, + 0, + 39, + 0, + 39, + 0, + 119, + 0, + -91, + -1, + -41, + -1, + -50, + -1, + 13, + 0, + 6, + 0, + 74, + 0, + 15, + 0, + -69, + -1, + 16, + 0, + 118, + 0, + 20, + 0, + 23, + 0, + -83, + -1, + -126, + -1, + -75, + -1, + -122, + -1, + -13, + -1, + 97, + 0, + -14, + -1, + 37, + 0, + 91, + 0, + 67, + 0, + 38, + 0, + 72, + 0, + -57, + -1, + -21, + -1, + -26, + -1, + 76, + 0, + -24, + -1, + 112, + 0, + -81, + -1, + -84, + -1, + 55, + 0, + 67, + 0, + 45, + 0, + -50, + -1, + -126, + -1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 3, + 13, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11, + 3, + 13, + 7 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -279,34 +312,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 3, - 13, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 11, - 3, - 13, - 7 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |