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_unary/negate | |
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_unary/negate')
46 files changed, 1718 insertions, 1496 deletions
diff --git a/operators/ew_unary/negate/negate_10x19x2x15_bf16/test.json b/operators/ew_unary/negate/negate_10x19x2x15_bf16/test.json index bbc463868..15ceecea5 100644 --- a/operators/ew_unary/negate/negate_10x19x2x15_bf16/test.json +++ b/operators/ew_unary/negate/negate_10x19x2x15_bf16/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 19, + 2, + 15 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 10, + 19, + 2, + 15 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 19, - 2, - 15 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 10, - 19, - 2, - 15 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_10x19x2x15_i16/test.json b/operators/ew_unary/negate/negate_10x19x2x15_i16/test.json index 1bb33b1de..80dccb8c1 100644 --- a/operators/ew_unary/negate/negate_10x19x2x15_i16/test.json +++ b/operators/ew_unary/negate/negate_10x19x2x15_i16/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 19, + 2, + 15 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10, + 19, + 2, + 15 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 19, - 2, - 15 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10, - 19, - 2, - 15 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_16x16x16x17x11_f16/test.json b/operators/ew_unary/negate/negate_16x16x16x17x11_f16/test.json index 058be50d0..e992952c8 100644 --- a/operators/ew_unary/negate/negate_16x16x16x17x11_f16/test.json +++ b/operators/ew_unary/negate/negate_16x16x16x17x11_f16/test.json @@ -5,17 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16, + 16, + 16, + 17, + 11 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 16, + 16, + 16, + 17, + 11 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16, - 16, - 16, - 17, - 11 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 16, - 16, - 16, - 17, - 11 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_16x16x16x17x11_i8/test.json b/operators/ew_unary/negate/negate_16x16x16x17x11_i8/test.json index eb40fd634..f10b60b5a 100644 --- a/operators/ew_unary/negate/negate_16x16x16x17x11_i8/test.json +++ b/operators/ew_unary/negate/negate_16x16x16x17x11_i8/test.json @@ -5,17 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 69, - output_zp: -78 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 69, + output_zp: -78 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16, + 16, + 16, + 17, + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 16, + 16, + 16, + 17, + 11 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16, - 16, - 16, - 17, - 11 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 16, - 16, - 16, - 17, - 11 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_1x1x2x1x65531_i8/test.json b/operators/ew_unary/negate/negate_1x1x2x1x65531_i8/test.json index 932e02f82..78587d0bb 100644 --- a/operators/ew_unary/negate/negate_1x1x2x1x65531_i8/test.json +++ b/operators/ew_unary/negate/negate_1x1x2x1x65531_i8/test.json @@ -5,17 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 37, - output_zp: 6 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 37, + output_zp: 6 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 2, + 1, + 65531 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 2, + 1, + 65531 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 2, - 1, - 65531 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 2, - 1, - 65531 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_1x2x1x65532x1_f32/test.json b/operators/ew_unary/negate/negate_1x2x1x65532x1_f32/test.json index c834e8ddf..9395a3b2e 100644 --- a/operators/ew_unary/negate/negate_1x2x1x65532x1_f32/test.json +++ b/operators/ew_unary/negate/negate_1x2x1x65532x1_f32/test.json @@ -5,17 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 65532, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65532, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 1, - 65532, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65532, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_1x65541x3x1_f32/test.json b/operators/ew_unary/negate/negate_1x65541x3x1_f32/test.json index 979e34b13..a15e9da42 100644 --- a/operators/ew_unary/negate/negate_1x65541x3x1_f32/test.json +++ b/operators/ew_unary/negate/negate_1x65541x3x1_f32/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65541, + 3, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 65541, + 3, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65541, - 3, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 65541, - 3, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_21_f16/test.json b/operators/ew_unary/negate/negate_21_f16/test.json index d12e4c61c..e20c22951 100644 --- a/operators/ew_unary/negate/negate_21_f16/test.json +++ b/operators/ew_unary/negate/negate_21_f16/test.json @@ -5,17 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 21 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -23,28 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 21 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 21 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_21x41x62_f16/test.json b/operators/ew_unary/negate/negate_21x41x62_f16/test.json index 10e688e8b..fc4654673 100644 --- a/operators/ew_unary/negate/negate_21x41x62_f16/test.json +++ b/operators/ew_unary/negate/negate_21x41x62_f16/test.json @@ -5,17 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21, + 41, + 62 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 21, + 41, + 62 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -23,32 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 21, - 41, - 62 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 21, - 41, - 62 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_25_i8/test.json b/operators/ew_unary/negate/negate_25_i8/test.json index 3d41cf94b..6e3aa2029 100644 --- a/operators/ew_unary/negate/negate_25_i8/test.json +++ b/operators/ew_unary/negate/negate_25_i8/test.json @@ -5,17 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 86, - output_zp: -13 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 86, + output_zp: -13 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 25 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -23,28 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 25 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_25x44x62_i8/test.json b/operators/ew_unary/negate/negate_25x44x62_i8/test.json index d2bb2391c..3a9673937 100644 --- a/operators/ew_unary/negate/negate_25x44x62_i8/test.json +++ b/operators/ew_unary/negate/negate_25x44x62_i8/test.json @@ -5,17 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 107, - output_zp: 47 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 107, + output_zp: 47 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 44, + 62 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 25, + 44, + 62 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -23,32 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 44, - 62 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 25, - 44, - 62 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_2x17x14x10_f16/test.json b/operators/ew_unary/negate/negate_2x17x14x10_f16/test.json index d1e1c2e48..ff8694082 100644 --- a/operators/ew_unary/negate/negate_2x17x14x10_f16/test.json +++ b/operators/ew_unary/negate/negate_2x17x14x10_f16/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 17, + 14, + 10 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 17, + 14, + 10 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 17, - 14, - 10 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 17, - 14, - 10 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_2x17x14x10_i8/test.json b/operators/ew_unary/negate/negate_2x17x14x10_i8/test.json index 2d4dabb4b..45fba0c72 100644 --- a/operators/ew_unary/negate/negate_2x17x14x10_i8/test.json +++ b/operators/ew_unary/negate/negate_2x17x14x10_i8/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 82, - output_zp: 11 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 82, + output_zp: 11 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 17, + 14, + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 17, + 14, + 10 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 17, - 14, - 10 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 17, - 14, - 10 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_37x37_f16/test.json b/operators/ew_unary/negate/negate_37x37_f16/test.json index 2c1f70ed6..7790b4b33 100644 --- a/operators/ew_unary/negate/negate_37x37_f16/test.json +++ b/operators/ew_unary/negate/negate_37x37_f16/test.json @@ -5,17 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 37, + 37 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 37, + 37 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -23,30 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 37, - 37 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 37, - 37 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_3x18x10x11x8_bf16/test.json b/operators/ew_unary/negate/negate_3x18x10x11x8_bf16/test.json index 228bc0f0f..fe9dd510e 100644 --- a/operators/ew_unary/negate/negate_3x18x10x11x8_bf16/test.json +++ b/operators/ew_unary/negate/negate_3x18x10x11x8_bf16/test.json @@ -5,17 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 18, + 10, + 11, + 8 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 3, + 18, + 10, + 11, + 8 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 18, - 10, - 11, - 8 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 3, - 18, - 10, - 11, - 8 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_3x18x10x11x8_i16/test.json b/operators/ew_unary/negate/negate_3x18x10x11x8_i16/test.json index 47639a831..9102df6f0 100644 --- a/operators/ew_unary/negate/negate_3x18x10x11x8_i16/test.json +++ b/operators/ew_unary/negate/negate_3x18x10x11x8_i16/test.json @@ -5,17 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 18, + 10, + 11, + 8 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 3, + 18, + 10, + 11, + 8 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 18, - 10, - 11, - 8 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 3, - 18, - 10, - 11, - 8 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_3x1x65540x1_i8/test.json b/operators/ew_unary/negate/negate_3x1x65540x1_i8/test.json index 5ebb81c72..2f356cf80 100644 --- a/operators/ew_unary/negate/negate_3x1x65540x1_i8/test.json +++ b/operators/ew_unary/negate/negate_3x1x65540x1_i8/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: -106, - output_zp: 70 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: -106, + output_zp: 70 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 1, + 65540, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 65540, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 1, - 65540, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 65540, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_40x40_i8/test.json b/operators/ew_unary/negate/negate_40x40_i8/test.json index a72904c50..ab9d93fc2 100644 --- a/operators/ew_unary/negate/negate_40x40_i8/test.json +++ b/operators/ew_unary/negate/negate_40x40_i8/test.json @@ -5,17 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 82, - output_zp: -114 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 82, + output_zp: -114 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 40, + 40 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 40, + 40 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -23,30 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 40, - 40 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 40, - 40 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_47_f32/test.json b/operators/ew_unary/negate/negate_47_f32/test.json index 37ee21264..8d84dd2ae 100644 --- a/operators/ew_unary/negate/negate_47_f32/test.json +++ b/operators/ew_unary/negate/negate_47_f32/test.json @@ -5,17 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -23,28 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_49_i32/test.json b/operators/ew_unary/negate/negate_49_i32/test.json index f57a93874..014012194 100644 --- a/operators/ew_unary/negate/negate_49_i32/test.json +++ b/operators/ew_unary/negate/negate_49_i32/test.json @@ -5,17 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 49 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -23,28 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 49 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_49x26_f32/test.json b/operators/ew_unary/negate/negate_49x26_f32/test.json index 134148238..22684a592 100644 --- a/operators/ew_unary/negate/negate_49x26_f32/test.json +++ b/operators/ew_unary/negate/negate_49x26_f32/test.json @@ -5,17 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 49, + 26 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 49, + 26 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -23,30 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 49, - 26 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 49, - 26 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_4x20x17x14x9_f32/test.json b/operators/ew_unary/negate/negate_4x20x17x14x9_f32/test.json index 94bbdab0f..c3c7f026e 100644 --- a/operators/ew_unary/negate/negate_4x20x17x14x9_f32/test.json +++ b/operators/ew_unary/negate/negate_4x20x17x14x9_f32/test.json @@ -5,17 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 20, + 17, + 14, + 9 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 4, + 20, + 17, + 14, + 9 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 20, - 17, - 14, - 9 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 4, - 20, - 17, - 14, - 9 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_4x20x17x14x9_i32/test.json b/operators/ew_unary/negate/negate_4x20x17x14x9_i32/test.json index bb44d24b9..4dec37da6 100644 --- a/operators/ew_unary/negate/negate_4x20x17x14x9_i32/test.json +++ b/operators/ew_unary/negate/negate_4x20x17x14x9_i32/test.json @@ -5,17 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 20, + 17, + 14, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 4, + 20, + 17, + 14, + 9 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -23,36 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 20, - 17, - 14, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 4, - 20, - 17, - 14, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_51x30_i32/test.json b/operators/ew_unary/negate/negate_51x30_i32/test.json index 6c75e7647..6c9bdd1d9 100644 --- a/operators/ew_unary/negate/negate_51x30_i32/test.json +++ b/operators/ew_unary/negate/negate_51x30_i32/test.json @@ -5,17 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 51, + 30 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 51, + 30 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -23,30 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 51, - 30 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 51, - 30 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_51x52x50_bf16/test.json b/operators/ew_unary/negate/negate_51x52x50_bf16/test.json index 357795ec2..17f12b52b 100644 --- a/operators/ew_unary/negate/negate_51x52x50_bf16/test.json +++ b/operators/ew_unary/negate/negate_51x52x50_bf16/test.json @@ -5,17 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 51, + 52, + 50 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 51, + 52, + 50 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -23,32 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 51, - 52, - 50 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 51, - 52, - 50 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_52x53x52_i16/test.json b/operators/ew_unary/negate/negate_52x53x52_i16/test.json index f65e8ed8b..1a1db6e0a 100644 --- a/operators/ew_unary/negate/negate_52x53x52_i16/test.json +++ b/operators/ew_unary/negate/negate_52x53x52_i16/test.json @@ -5,17 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 52, + 53, + 52 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 52, + 53, + 52 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -23,32 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 52, - 53, - 52 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 52, - 53, - 52 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_53_bf16/test.json b/operators/ew_unary/negate/negate_53_bf16/test.json index 11ec1ebe5..2d1dfe70d 100644 --- a/operators/ew_unary/negate/negate_53_bf16/test.json +++ b/operators/ew_unary/negate/negate_53_bf16/test.json @@ -5,17 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 53 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -23,28 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 53 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 53 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_53x41x23_f32/test.json b/operators/ew_unary/negate/negate_53x41x23_f32/test.json index c52aad3c1..5d3b2824a 100644 --- a/operators/ew_unary/negate/negate_53x41x23_f32/test.json +++ b/operators/ew_unary/negate/negate_53x41x23_f32/test.json @@ -5,17 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53, + 41, + 23 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 53, + 41, + 23 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -23,32 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 53, - 41, - 23 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 53, - 41, - 23 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_54_i16/test.json b/operators/ew_unary/negate/negate_54_i16/test.json index bff19b292..455d90b6f 100644 --- a/operators/ew_unary/negate/negate_54_i16/test.json +++ b/operators/ew_unary/negate/negate_54_i16/test.json @@ -5,17 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 54 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 54 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -23,28 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 54 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 54 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_55x43x27_i32/test.json b/operators/ew_unary/negate/negate_55x43x27_i32/test.json index a822a22e7..13d9d50a8 100644 --- a/operators/ew_unary/negate/negate_55x43x27_i32/test.json +++ b/operators/ew_unary/negate/negate_55x43x27_i32/test.json @@ -5,17 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 55, + 43, + 27 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 55, + 43, + 27 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -23,32 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 55, - 43, - 27 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 55, - 43, - 27 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_57x21_bf16/test.json b/operators/ew_unary/negate/negate_57x21_bf16/test.json index 4961268d1..b893d454c 100644 --- a/operators/ew_unary/negate/negate_57x21_bf16/test.json +++ b/operators/ew_unary/negate/negate_57x21_bf16/test.json @@ -5,17 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 57, + 21 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 57, + 21 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -23,30 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 57, - 21 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 57, - 21 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_58x25_i16/test.json b/operators/ew_unary/negate/negate_58x25_i16/test.json index b20297228..6c6b3d75d 100644 --- a/operators/ew_unary/negate/negate_58x25_i16/test.json +++ b/operators/ew_unary/negate/negate_58x25_i16/test.json @@ -5,17 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 58, + 25 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 58, + 25 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -23,30 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 58, - 25 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 58, - 25 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_5x2x12x21_f32/test.json b/operators/ew_unary/negate/negate_5x2x12x21_f32/test.json index a662ed4c9..f605cc4a0 100644 --- a/operators/ew_unary/negate/negate_5x2x12x21_f32/test.json +++ b/operators/ew_unary/negate/negate_5x2x12x21_f32/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 2, + 12, + 21 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 5, + 2, + 12, + 21 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 2, - 12, - 21 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 5, - 2, - 12, - 21 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_5x2x12x21_i32/test.json b/operators/ew_unary/negate/negate_5x2x12x21_i32/test.json index 1f2a2c63b..05d1b60c5 100644 --- a/operators/ew_unary/negate/negate_5x2x12x21_i32/test.json +++ b/operators/ew_unary/negate/negate_5x2x12x21_i32/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 2, + 12, + 21 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 5, + 2, + 12, + 21 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 2, - 12, - 21 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 5, - 2, - 12, - 21 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/test.json b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/test.json index 32d54b475..a955a3d26 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/test.json @@ -5,17 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 41, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 41, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -23,28 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_12x11_f32/test.json b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_12x11_f32/test.json index b9cbcfe92..dd200ee27 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_12x11_f32/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_12x11_f32/test.json @@ -5,17 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 25, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 25, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 12, + 11 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -23,30 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 12, - 11 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_10x11x2x5_i32/desc.json b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_10x11x2x5_i32/desc.json index 23599279c..a0c922627 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_10x11x2x5_i32/desc.json +++ b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_10x11x2x5_i32/desc.json @@ -16,6 +16,7 @@ "expected_failure": true, "expected_failure_desc": "Output DType not INT8 and zero point not 0", "profile": [ + "tosa-bi", "tosa-mi" ] }
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_10x11x2x5_i32/test.json b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_10x11x2x5_i32/test.json index 9cea6ba9f..ae1d54c65 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_10x11x2x5_i32/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_10x11x2x5_i32/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: -48 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: -48 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 11, + 2, + 5 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 11, + 2, + 5 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 11, - 2, - 5 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 11, - 2, - 5 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/test.json index 41d7dd677..faf0cc5e9 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/test.json @@ -5,47 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "BF16" + } + ], inputs: [ - "input-0", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_i16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_i16/test.json index b933b558b..d9ce59d93 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_i16/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_i16/test.json @@ -5,46 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, - inputs: [ + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/desc.json index 15cad4b15..992afc22b 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/desc.json +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/desc.json @@ -16,6 +16,7 @@ "expected_failure": true, "expected_failure_desc": "Input data type not supported for this operator", "profile": [ + "tosa-bi", "tosa-mi" ] }
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/test.json index d44b35a98..e62a40bc1 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_10x8_i48/test.json @@ -5,17 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 10, + 8 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -23,30 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 8 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 10, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/test.json index ee777df12..fec98e2b8 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/test.json @@ -5,47 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_i16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_i16/test.json index 517fa1131..6de8f5988 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_i16/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_i16/test.json @@ -5,46 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/test.json index 73d27386c..1572b7b95 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 0, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_i8/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_i8/test.json index a748788d5..b111bc17e 100644 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_i8/test.json +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_i8/test.json @@ -5,17 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: -51, - output_zp: 0 - }, + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: -51, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -23,34 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |