diff options
Diffstat (limited to 'operators/ew_binary/minimum')
36 files changed, 1621 insertions, 1441 deletions
diff --git a/operators/ew_binary/minimum/minimum_10x1x13x9x7_f16/test.json b/operators/ew_binary/minimum/minimum_10x1x13x9x7_f16/test.json index c447a94e7..c97175c76 100644 --- a/operators/ew_binary/minimum/minimum_10x1x13x9x7_f16/test.json +++ b/operators/ew_binary/minimum/minimum_10x1x13x9x7_f16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 13, + 9, + 7 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 13, + 9, + 7 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 13, - 9, - 7 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 13, - 9, - 7 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_12x12x11x12_bf16/test.json b/operators/ew_binary/minimum/minimum_12x12x11x12_bf16/test.json index 54dac0d9e..0a8ad0487 100644 --- a/operators/ew_binary/minimum/minimum_12x12x11x12_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_12x12x11x12_bf16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 12, + 11, + 12 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 12, - 11, - 12 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_13x7x8x6x3_f32/test.json b/operators/ew_binary/minimum/minimum_13x7x8x6x3_f32/test.json index 47720bb9d..4d2033d55 100644 --- a/operators/ew_binary/minimum/minimum_13x7x8x6x3_f32/test.json +++ b/operators/ew_binary/minimum/minimum_13x7x8x6x3_f32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 13, + 7, + 8, + 1, + 3 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 7, + 8, + 6, + 3 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 13, - 7, - 8, - 1, - 3 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 7, - 8, - 6, - 3 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1_f16/test.json b/operators/ew_binary/minimum/minimum_1_f16/test.json index 254af6217..3fec8c760 100644 --- a/operators/ew_binary/minimum/minimum_1_f16/test.json +++ b/operators/ew_binary/minimum/minimum_1_f16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 47 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x1x1x65538_f32/test.json b/operators/ew_binary/minimum/minimum_1x1x1x65538_f32/test.json index d3deb1c82..c4a085624 100644 --- a/operators/ew_binary/minimum/minimum_1x1x1x65538_f32/test.json +++ b/operators/ew_binary/minimum/minimum_1x1x1x65538_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 1, + 65538 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 65538 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 65538 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 1, - 65538 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 65538 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 65538 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x2x65533x1_i32/test.json b/operators/ew_binary/minimum/minimum_1x2x65533x1_i32/test.json index b8f83ab3b..18f92e23a 100644 --- a/operators/ew_binary/minimum/minimum_1x2x65533x1_i32/test.json +++ b/operators/ew_binary/minimum/minimum_1x2x65533x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65533, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65533, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x37x37_bf16/test.json b/operators/ew_binary/minimum/minimum_1x37x37_bf16/test.json index 07a2ba500..05066ca8e 100644 --- a/operators/ew_binary/minimum/minimum_1x37x37_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_1x37x37_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 37 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 42, + 37, + 37 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 37 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 42, - 37, - 37 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x37x40_f32/test.json b/operators/ew_binary/minimum/minimum_1x37x40_f32/test.json index 7331a9966..89884141d 100644 --- a/operators/ew_binary/minimum/minimum_1x37x40_f32/test.json +++ b/operators/ew_binary/minimum/minimum_1x37x40_f32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 40 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 37, - 40 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x49_f32/test.json b/operators/ew_binary/minimum/minimum_1x49_f32/test.json index 9c3816067..30576d4c2 100644 --- a/operators/ew_binary/minimum/minimum_1x49_f32/test.json +++ b/operators/ew_binary/minimum/minimum_1x49_f32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 20, + 49 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 20, - 49 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x65531x2x1_f32/test.json b/operators/ew_binary/minimum/minimum_1x65531x2x1_f32/test.json index d3557bd46..21650c276 100644 --- a/operators/ew_binary/minimum/minimum_1x65531x2x1_f32/test.json +++ b/operators/ew_binary/minimum/minimum_1x65531x2x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65531, + 2, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 65531, + 2, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 65531, + 2, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65531, - 2, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 65531, - 2, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 65531, - 2, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_1x65539x1x1x1_i32/test.json b/operators/ew_binary/minimum/minimum_1x65539x1x1x1_i32/test.json index 2cd827639..2566a0a13 100644 --- a/operators/ew_binary/minimum/minimum_1x65539x1x1x1_i32/test.json +++ b/operators/ew_binary/minimum/minimum_1x65539x1x1x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_20_f32/test.json b/operators/ew_binary/minimum/minimum_20_f32/test.json index 4827153b7..1bf0d8efa 100644 --- a/operators/ew_binary/minimum/minimum_20_f32/test.json +++ b/operators/ew_binary/minimum/minimum_20_f32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_20_i32/test.json b/operators/ew_binary/minimum/minimum_20_i32/test.json index c09479b12..daf149f48 100644 --- a/operators/ew_binary/minimum/minimum_20_i32/test.json +++ b/operators/ew_binary/minimum/minimum_20_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_20x1x25_i32/test.json b/operators/ew_binary/minimum/minimum_20x1x25_i32/test.json index db417dd69..4dbb9ab32 100644 --- a/operators/ew_binary/minimum/minimum_20x1x25_i32/test.json +++ b/operators/ew_binary/minimum/minimum_20x1x25_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 1, + 25 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 1, - 25 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x11x4x2_f16/test.json b/operators/ew_binary/minimum/minimum_2x11x4x2_f16/test.json index 07262daba..79f938a4f 100644 --- a/operators/ew_binary/minimum/minimum_2x11x4x2_f16/test.json +++ b/operators/ew_binary/minimum/minimum_2x11x4x2_f16/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x11x4x2x8_i32/test.json b/operators/ew_binary/minimum/minimum_2x11x4x2x8_i32/test.json index ea705c9d7..2028c8326 100644 --- a/operators/ew_binary/minimum/minimum_2x11x4x2x8_i32/test.json +++ b/operators/ew_binary/minimum/minimum_2x11x4x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x12x10x1_f32/test.json b/operators/ew_binary/minimum/minimum_2x12x10x1_f32/test.json index ceea3c4af..e84e56b86 100644 --- a/operators/ew_binary/minimum/minimum_2x12x10x1_f32/test.json +++ b/operators/ew_binary/minimum/minimum_2x12x10x1_f32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x12x10x1_i32/test.json b/operators/ew_binary/minimum/minimum_2x12x10x1_i32/test.json index b04c493ec..844f62d2b 100644 --- a/operators/ew_binary/minimum/minimum_2x12x10x1_i32/test.json +++ b/operators/ew_binary/minimum/minimum_2x12x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_2x9x14x1x13_bf16/test.json b/operators/ew_binary/minimum/minimum_2x9x14x1x13_bf16/test.json index 3d5b71671..0bed99ff3 100644 --- a/operators/ew_binary/minimum/minimum_2x9x14x1x13_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_2x9x14x1x13_bf16/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 2, + 1, + 14, + 1, + 13 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 9, + 14, + 1, + 13 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 2, - 1, - 14, - 1, - 13 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 2, - 9, - 14, - 1, - 13 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_36_bf16/test.json b/operators/ew_binary/minimum/minimum_36_bf16/test.json index ea8d91653..df27a9554 100644 --- a/operators/ew_binary/minimum/minimum_36_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_36_bf16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 36 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_41x62_f16/test.json b/operators/ew_binary/minimum/minimum_41x62_f16/test.json index 289928b65..bbf248bfa 100644 --- a/operators/ew_binary/minimum/minimum_41x62_f16/test.json +++ b/operators/ew_binary/minimum/minimum_41x62_f16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 41, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 41, - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_47x1_i32/test.json b/operators/ew_binary/minimum/minimum_47x1_i32/test.json index 069f899fb..c2dcdd936 100644 --- a/operators/ew_binary/minimum/minimum_47x1_i32/test.json +++ b/operators/ew_binary/minimum/minimum_47x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 47, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 47, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_50x53_bf16/test.json b/operators/ew_binary/minimum/minimum_50x53_bf16/test.json index 5704c2173..6c9fa9f04 100644 --- a/operators/ew_binary/minimum/minimum_50x53_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_50x53_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 53 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 53 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 50, + 53 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 53 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 53 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 50, - 53 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_60x53x1_f16/test.json b/operators/ew_binary/minimum/minimum_60x53x1_f16/test.json index 41a8dacdc..c6629d309 100644 --- a/operators/ew_binary/minimum/minimum_60x53x1_f16/test.json +++ b/operators/ew_binary/minimum/minimum_60x53x1_f16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 60, + 53, + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 60, + 53, + 46 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 60, - 53, - 1 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 60, - 53, - 46 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_11x2_bf16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_11x2_bf16/test.json index f4e00ed67..20eb05f08 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_11x2_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_11x2_bf16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 2 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 2 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 11, + 2 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 2 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 2 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 11, - 2 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_12_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_12_i32/test.json index 24589113c..6bb22efb9 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_12_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_DimensionMismatch_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json index e90839913..fadf2eec8 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_12x11x14x12_bf16/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "BF16" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "BF16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_13x2_i32/test.json index 4ba0de1b6..8cd264965 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json index 3cb0e738e..a6c0ff082 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_11x5x12x9_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 11, + 1, + 12, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 11, - 1, - 12, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_2_f16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_2_f16/test.json index 5dd222d25..20b5b9d71 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_2_f16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputList_2_f16/test.json @@ -5,52 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0", - "input-1", - "eiDummyInput" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json index e53f9dcaf..8f0db983c 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_14x11x12_i4/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_14x11x12_i4/test.json index b038279b0..30ee4fe3f 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_14x11x12_i4/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_14x11x12_i4/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 14, + 11, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 14, + 11, + 12 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 14, - 11, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 14, - 11, - 12 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json index c09589641..60a8b4da9 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_10x8x13x9_i32/test.json @@ -5,61 +5,66 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 8, + 13, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 8, + 13, + 9 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 8, - 13, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 8, - 13, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_11x12_f32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_11x12_f32/test.json index bd6f8ae97..0d4e39895 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_11x12_f32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputList_11x12_f32/test.json @@ -5,54 +5,59 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 12 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 12 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 11, + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 12 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 1, - 12 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 11, - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_12_i32/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_12_i32/test.json index 4d347943d..e7ae2e019 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json index 1b1b87229..73138e393 100644 --- a/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json +++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongOutputType_13x5x14_bf16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "MINIMUM", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "MINIMUM", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 5, + 14 + ], + type: "BF16" + }, + { + name: "input-1", + shape: [ + 1, + 5, + 14 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 13, + 5, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 5, - 14 - ], - type: "BF16" - }, - { - name: "input-1", - shape: [ - 1, - 5, - 14 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 13, - 5, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] |