diff options
Diffstat (limited to 'operators/comparison')
39 files changed, 1760 insertions, 1565 deletions
diff --git a/operators/comparison/equal/equal_1x2x65501x1_i32/test.json b/operators/comparison/equal/equal_1x2x65501x1_i32/test.json index d1710285e..944813cfe 100644 --- a/operators/comparison/equal/equal_1x2x65501x1_i32/test.json +++ b/operators/comparison/equal/equal_1x2x65501x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65501, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65501, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65501, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65501, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65501, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65501, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_1x65541x1x1x1_i32/test.json b/operators/comparison/equal/equal_1x65541x1x1x1_i32/test.json index 2fb052e6c..7f3352a80 100644 --- a/operators/comparison/equal/equal_1x65541x1x1x1_i32/test.json +++ b/operators/comparison/equal/equal_1x65541x1x1x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65541, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65541, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65541, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65541, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65541, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65541, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_20_i32/test.json b/operators/comparison/equal/equal_20_i32/test.json index 2916ed9bc..a80e25ac7 100644 --- a/operators/comparison/equal/equal_20_i32/test.json +++ b/operators/comparison/equal/equal_20_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_20x1x25_i32/test.json b/operators/comparison/equal/equal_20x1x25_i32/test.json index 1ea68799c..76cc40f7b 100644 --- a/operators/comparison/equal/equal_20x1x25_i32/test.json +++ b/operators/comparison/equal/equal_20x1x25_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_2x11x4x2x8_i32/test.json b/operators/comparison/equal/equal_2x11x4x2x8_i32/test.json index ad9d57143..af6f00d97 100644 --- a/operators/comparison/equal/equal_2x11x4x2x8_i32/test.json +++ b/operators/comparison/equal/equal_2x11x4x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_2x12x10x1_i32/test.json b/operators/comparison/equal/equal_2x12x10x1_i32/test.json index d1d3a102b..df6885b23 100644 --- a/operators/comparison/equal/equal_2x12x10x1_i32/test.json +++ b/operators/comparison/equal/equal_2x12x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_47x1_i32/test.json b/operators/comparison/equal/equal_47x1_i32/test.json index 05cae82b4..9aa562b1a 100644 --- a/operators/comparison/equal/equal_47x1_i32/test.json +++ b/operators/comparison/equal/equal_47x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_ERRORIF_DimensionMismatch_12_i32/test.json b/operators/comparison/equal/equal_ERRORIF_DimensionMismatch_12_i32/test.json index ba548d3c3..09c3b0ae7 100644 --- a/operators/comparison/equal/equal_ERRORIF_DimensionMismatch_12_i32/test.json +++ b/operators/comparison/equal/equal_ERRORIF_DimensionMismatch_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/comparison/equal/equal_ERRORIF_RankMismatch_13x2_i32/test.json index ad7fd5198..cfcbc9aa4 100644 --- a/operators/comparison/equal/equal_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/comparison/equal/equal_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_ERRORIF_WrongInputList_11x5x12x9_i32/test.json b/operators/comparison/equal/equal_ERRORIF_WrongInputList_11x5x12x9_i32/test.json index 6aae4f883..d7431e504 100644 --- a/operators/comparison/equal/equal_ERRORIF_WrongInputList_11x5x12x9_i32/test.json +++ b/operators/comparison/equal/equal_ERRORIF_WrongInputList_11x5x12x9_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_ERRORIF_WrongInputType_14x11x12_i4/test.json b/operators/comparison/equal/equal_ERRORIF_WrongInputType_14x11x12_i4/test.json index 24acb5391..5eee43938 100644 --- a/operators/comparison/equal/equal_ERRORIF_WrongInputType_14x11x12_i4/test.json +++ b/operators/comparison/equal/equal_ERRORIF_WrongInputType_14x11x12_i4/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json index 40e4b3af7..c0965d72f 100644 --- a/operators/comparison/equal/equal_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json +++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json @@ -5,61 +5,66 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputType_12_i32/test.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_12_i32/test.json index 799ccfd18..f5365f60a 100644 --- a/operators/comparison/equal/equal_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "EQUAL", + 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: "INT48" + } + ], 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: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_14_i32/test.json b/operators/comparison/greater/greater_14_i32/test.json index 2b1f5b81e..d8e88ed5c 100644 --- a/operators/comparison/greater/greater_14_i32/test.json +++ b/operators/comparison/greater/greater_14_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 14 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 14 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_14x1x20_i32/test.json b/operators/comparison/greater/greater_14x1x20_i32/test.json index 86aff43a1..84a92bbd6 100644 --- a/operators/comparison/greater/greater_14x1x20_i32/test.json +++ b/operators/comparison/greater/greater_14x1x20_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 1, + 20 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 14, + 47, + 20 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 14, + 47, + 20 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 1, - 20 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 14, - 47, - 20 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 14, - 47, - 20 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_1x2x65530x1_i32/test.json b/operators/comparison/greater/greater_1x2x65530x1_i32/test.json index 3570a18b3..309a7015a 100644 --- a/operators/comparison/greater/greater_1x2x65530x1_i32/test.json +++ b/operators/comparison/greater/greater_1x2x65530x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65530, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65530, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65530, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65530, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65530, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65530, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_1x65539x1x2x1_i32/test.json b/operators/comparison/greater/greater_1x65539x1x2x1_i32/test.json index 1ce8f0f1d..d770cf2f8 100644 --- a/operators/comparison/greater/greater_1x65539x1x2x1_i32/test.json +++ b/operators/comparison/greater/greater_1x65539x1x2x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 2, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 2, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 2, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 2, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 2, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 2, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_2x10x3x2x8_i32/test.json b/operators/comparison/greater/greater_2x10x3x2x8_i32/test.json index 1aaaf6d36..4ac9d2cf7 100644 --- a/operators/comparison/greater/greater_2x10x3x2x8_i32/test.json +++ b/operators/comparison/greater/greater_2x10x3x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 10, + 3, + 2, + 8 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 10, + 3, + 1, + 8 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 10, + 3, + 2, + 8 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 10, - 3, - 2, - 8 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 10, - 3, - 1, - 8 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 10, - 3, - 2, - 8 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_2x11x10x1_i32/test.json b/operators/comparison/greater/greater_2x11x10x1_i32/test.json index 8bf95d8ca..1d648066e 100644 --- a/operators/comparison/greater/greater_2x11x10x1_i32/test.json +++ b/operators/comparison/greater/greater_2x11x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 10, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 10, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 10, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 10, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_45x1_i32/test.json b/operators/comparison/greater/greater_45x1_i32/test.json index 59be63e09..5eb2b5be9 100644 --- a/operators/comparison/greater/greater_45x1_i32/test.json +++ b/operators/comparison/greater/greater_45x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 45, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 45, + 33 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 45, + 33 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 45, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 45, - 33 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 45, - 33 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_ERRORIF_DimensionMismatch_12_i32/test.json b/operators/comparison/greater/greater_ERRORIF_DimensionMismatch_12_i32/test.json index 61fa2f77c..ffb6cc2ef 100644 --- a/operators/comparison/greater/greater_ERRORIF_DimensionMismatch_12_i32/test.json +++ b/operators/comparison/greater/greater_ERRORIF_DimensionMismatch_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/comparison/greater/greater_ERRORIF_RankMismatch_13x2_i32/test.json index d7d1a0117..68de8e716 100644 --- a/operators/comparison/greater/greater_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/comparison/greater/greater_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_ERRORIF_WrongInputList_11x5x12x9_i32/test.json b/operators/comparison/greater/greater_ERRORIF_WrongInputList_11x5x12x9_i32/test.json index f5e66e2da..05959dec8 100644 --- a/operators/comparison/greater/greater_ERRORIF_WrongInputList_11x5x12x9_i32/test.json +++ b/operators/comparison/greater/greater_ERRORIF_WrongInputList_11x5x12x9_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_ERRORIF_WrongInputType_14x11x12_i4/test.json b/operators/comparison/greater/greater_ERRORIF_WrongInputType_14x11x12_i4/test.json index 2df9144d3..892582035 100644 --- a/operators/comparison/greater/greater_ERRORIF_WrongInputType_14x11x12_i4/test.json +++ b/operators/comparison/greater/greater_ERRORIF_WrongInputType_14x11x12_i4/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json b/operators/comparison/greater/greater_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json index 04db37471..10f310597 100644 --- a/operators/comparison/greater/greater_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json +++ b/operators/comparison/greater/greater_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json @@ -5,60 +5,65 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + 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: "BOOL" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater/greater_ERRORIF_WrongOutputType_12_i32/test.json b/operators/comparison/greater/greater_ERRORIF_WrongOutputType_12_i32/test.json index 63027ed5a..d98fcc777 100644 --- a/operators/comparison/greater/greater_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/comparison/greater/greater_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER", + 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: "INT16" + } + ], 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: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_1x2x65533x1_i32/test.json b/operators/comparison/greater_equal/greater_equal_1x2x65533x1_i32/test.json index a2dd230c4..a5c12cef1 100644 --- a/operators/comparison/greater_equal/greater_equal_1x2x65533x1_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_1x2x65533x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_1x65539x1x3x1_i32/test.json b/operators/comparison/greater_equal/greater_equal_1x65539x1x3x1_i32/test.json index 9e68462ba..10c406d48 100644 --- a/operators/comparison/greater_equal/greater_equal_1x65539x1x3x1_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_1x65539x1x3x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 3, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 3, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 3, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 3, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 3, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 3, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_23_i32/test.json b/operators/comparison/greater_equal/greater_equal_23_i32/test.json index 57e77d4b4..05698b64a 100644 --- a/operators/comparison/greater_equal/greater_equal_23_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_23_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_23x1x28_i32/test.json b/operators/comparison/greater_equal/greater_equal_23x1x28_i32/test.json index 38e0e1cfd..39f902121 100644 --- a/operators/comparison/greater_equal/greater_equal_23x1x28_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_23x1x28_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 1, + 28 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 23, + 50, + 28 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23, + 50, + 28 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 1, - 28 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 23, - 50, - 28 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23, - 50, - 28 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_2x14x4x2x11_i32/test.json b/operators/comparison/greater_equal/greater_equal_2x14x4x2x11_i32/test.json index 913fbf8d5..9b0d0319a 100644 --- a/operators/comparison/greater_equal/greater_equal_2x14x4x2x11_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_2x14x4x2x11_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 14, + 4, + 2, + 11 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 14, + 4, + 1, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 14, + 4, + 2, + 11 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 14, - 4, - 2, - 11 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 14, - 4, - 1, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 14, - 4, - 2, - 11 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_2x15x13x1_i32/test.json b/operators/comparison/greater_equal/greater_equal_2x15x13x1_i32/test.json index b92d3ff06..bf3b563b1 100644 --- a/operators/comparison/greater_equal/greater_equal_2x15x13x1_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_2x15x13x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 15, + 13, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 15, + 13, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 15, + 13, + 9 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 15, - 13, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 15, - 13, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 15, - 13, - 9 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_48x1_i32/test.json b/operators/comparison/greater_equal/greater_equal_48x1_i32/test.json index 8a4dec438..bb29b649c 100644 --- a/operators/comparison/greater_equal/greater_equal_48x1_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_48x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 48, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 48, + 39 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 48, + 39 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 48, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 48, - 39 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 48, - 39 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_ERRORIF_DimensionMismatch_12_i32/test.json b/operators/comparison/greater_equal/greater_equal_ERRORIF_DimensionMismatch_12_i32/test.json index be33e9813..869c232c0 100644 --- a/operators/comparison/greater_equal/greater_equal_ERRORIF_DimensionMismatch_12_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_ERRORIF_DimensionMismatch_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/comparison/greater_equal/greater_equal_ERRORIF_RankMismatch_13x2_i32/test.json index e15a5f792..8f3afd249 100644 --- a/operators/comparison/greater_equal/greater_equal_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongInputList_11x5x12x9_i32/test.json b/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongInputList_11x5x12x9_i32/test.json index 9ea05f728..e6006a594 100644 --- a/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongInputList_11x5x12x9_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongInputList_11x5x12x9_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongInputType_14x11x12_i4/test.json b/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongInputType_14x11x12_i4/test.json index a48ddc3c0..3a1eee274 100644 --- a/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongInputType_14x11x12_i4/test.json +++ b/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongInputType_14x11x12_i4/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json b/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json index f4bb49ff7..de3a2fd3d 100644 --- a/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json @@ -5,61 +5,66 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + 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: "BOOL" + } + ], 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: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongOutputType_12_i32/test.json b/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongOutputType_12_i32/test.json index 51f3eb34a..2439315bc 100644 --- a/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/comparison/greater_equal/greater_equal_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "GREATER_EQUAL", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "GREATER_EQUAL", + 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: "INT48" + } + ], 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: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] |