diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 15:17:52 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 16:40:57 +0000 |
commit | b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch) | |
tree | 4b4737ff52e92c1c17922a972384930953a26a61 /operators/ew_binary/sub | |
parent | 007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff) | |
download | conformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz |
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'operators/ew_binary/sub')
32 files changed, 1426 insertions, 1266 deletions
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" ] } ] |