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/logical_left_shift | |
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/logical_left_shift')
23 files changed, 1031 insertions, 916 deletions
diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_10x1x13x9x7_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_10x1x13x9x7_i16/test.json index b1287d824..da8a8f601 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_10x1x13x9x7_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_10x1x13x9x7_i16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 13, + 9, + 7 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 13, - 9, - 7 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_12x12x11x12_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_12x12x11x12_i32/test.json index 4fc6df11d..c13322cf9 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_12x12x11x12_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_12x12x11x12_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_13x7x8x6x3_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_13x7x8x6x3_i8/test.json index b35949fa4..037c3f2b7 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_13x7x8x6x3_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_13x7x8x6x3_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13, + 7, + 8, + 1, + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13, - 7, - 8, - 1, - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json index f1e692158..c3c005e1e 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x2x1x65538_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x2x1x65538_i8/test.json index a013713b9..f9aacf8a1 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x2x1x65538_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x2x1x65538_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 65538 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 65538 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65538 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 1, - 65538 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 65538 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65538 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x37_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x37_i32/test.json index 4fc3506bd..d43d291ae 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x37_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x37_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x40_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x40_i8/test.json index a789635e8..650dd66eb 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x40_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x37x40_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x49_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x49_i8/test.json index 4ce3932db..84520d17b 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x49_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x49_i8/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1x65532x1x1_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1x65532x1x1_i8/test.json index b01fe2193..2aaa2cd4c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_1x65532x1x1_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1x65532x1x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65532, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 65532, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65532, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65532, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 65532, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65532, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json index d34b49683..22b6a5ebf 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json index 40015248f..dcaedfb4c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x12x10x1_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x12x10x1_i8/test.json index fd208d061..ccd19166c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_2x12x10x1_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x12x10x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x9x14x1x13_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x9x14x1x13_i32/test.json index 030e56027..c39090af3 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_2x9x14x1x13_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x9x14x1x13_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 14, + 1, + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 14, - 1, - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json index 215793018..914131a14 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_41x62_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_41x62_i16/test.json index 0622c3e5b..a9915557c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_41x62_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_41x62_i16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_50x53_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_50x53_i32/test.json index 5ceda7407..507bbc76c 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_50x53_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_50x53_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_60x53x1_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_60x53x1_i16/test.json index 387a22be3..49ccf4dcf 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_60x53x1_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_60x53x1_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_DimensionMismatch_12_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_DimensionMismatch_12_i8/test.json index 274f0d868..4e460619d 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_DimensionMismatch_12_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_DimensionMismatch_12_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json index e7c8b097e..defdf7f6e 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_RankMismatch_12x11x14x12_i32/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputList_10x10_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputList_10x10_i32/test.json index 4f16f67c8..d40ef3973 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputList_10x10_i32/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputList_10x10_i32/test.json @@ -5,55 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json index b32aa2c30..0f6ad7ce4 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongInputType_11x10x3_i48/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputList_11_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputList_11_i16/test.json index fc1a04de4..5f1675ec6 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputList_11_i16/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputList_11_i16/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json index a2abd8fc1..ffb7d8f6e 100644 --- a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_LEFT_SHIFT", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 10, - 1, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10, - 2, - 9 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] |