diff options
Diffstat (limited to 'operators/type_conversion/cast')
70 files changed, 2470 insertions, 2120 deletions
diff --git a/operators/type_conversion/cast/cast_12x12x11x12_b_outi16/test.json b/operators/type_conversion/cast/cast_12x12x11x12_b_outi16/test.json index 0bf329415..7ea7b2e87 100644 --- a/operators/type_conversion/cast/cast_12x12x11x12_b_outi16/test.json +++ b/operators/type_conversion/cast/cast_12x12x11x12_b_outi16/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_12x12x11x12_b_outi32/test.json b/operators/type_conversion/cast/cast_12x12x11x12_b_outi32/test.json index e63bea961..b55d98281 100644 --- a/operators/type_conversion/cast/cast_12x12x11x12_b_outi32/test.json +++ b/operators/type_conversion/cast/cast_12x12x11x12_b_outi32/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_12x12x11x12_b_outi8/test.json b/operators/type_conversion/cast/cast_12x12x11x12_b_outi8/test.json index 72e7272bb..63644454b 100644 --- a/operators/type_conversion/cast/cast_12x12x11x12_b_outi8/test.json +++ b/operators/type_conversion/cast/cast_12x12x11x12_b_outi8/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12, + 12, + 11, + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12, - 12, - 11, - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outb/test.json b/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outb/test.json index f5470af6c..fe33aff16 100644 --- a/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outb/test.json +++ b/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outb/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65535, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65535, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outi16/test.json b/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outi16/test.json index 2b83371c7..530f31f16 100644 --- a/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outi16/test.json +++ b/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outi16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65535, + 1, + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65535, - 1, - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outi32/test.json b/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outi32/test.json index 1d9b1b446..b27774ca1 100644 --- a/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outi32/test.json +++ b/operators/type_conversion/cast/cast_1x1x65535x1x1_i8_outi32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65535, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65535, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_1x65538x1x2_i8_outb/test.json b/operators/type_conversion/cast/cast_1x65538x1x2_i8_outb/test.json index be1a9602d..171840339 100644 --- a/operators/type_conversion/cast/cast_1x65538x1x2_i8_outb/test.json +++ b/operators/type_conversion/cast/cast_1x65538x1x2_i8_outb/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65538, + 1, + 2 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 1, + 2 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65538, - 1, - 2 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 1, - 2 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_1x65538x1x2_i8_outi16/test.json b/operators/type_conversion/cast/cast_1x65538x1x2_i8_outi16/test.json index a18cb0742..5e7e694cd 100644 --- a/operators/type_conversion/cast/cast_1x65538x1x2_i8_outi16/test.json +++ b/operators/type_conversion/cast/cast_1x65538x1x2_i8_outi16/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65538, + 1, + 2 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 1, + 2 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65538, - 1, - 2 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 1, - 2 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_1x65538x1x2_i8_outi32/test.json b/operators/type_conversion/cast/cast_1x65538x1x2_i8_outi32/test.json index cbb0b898b..aef9a0685 100644 --- a/operators/type_conversion/cast/cast_1x65538x1x2_i8_outi32/test.json +++ b/operators/type_conversion/cast/cast_1x65538x1x2_i8_outi32/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65538, + 1, + 2 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 1, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65538, - 1, - 2 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 1, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_20_i8_outb/test.json b/operators/type_conversion/cast/cast_20_i8_outb/test.json index d7cd22738..147c0fa18 100644 --- a/operators/type_conversion/cast/cast_20_i8_outb/test.json +++ b/operators/type_conversion/cast/cast_20_i8_outb/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_20_i8_outi16/test.json b/operators/type_conversion/cast/cast_20_i8_outi16/test.json index 0d2668818..163bb1860 100644 --- a/operators/type_conversion/cast/cast_20_i8_outi16/test.json +++ b/operators/type_conversion/cast/cast_20_i8_outi16/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_20_i8_outi32/test.json b/operators/type_conversion/cast/cast_20_i8_outi32/test.json index c398528c7..b4603abbe 100644 --- a/operators/type_conversion/cast/cast_20_i8_outi32/test.json +++ b/operators/type_conversion/cast/cast_20_i8_outi32/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_20x49_i16_outb/test.json b/operators/type_conversion/cast/cast_20x49_i16_outb/test.json index 11ddd4c11..feb29303f 100644 --- a/operators/type_conversion/cast/cast_20x49_i16_outb/test.json +++ b/operators/type_conversion/cast/cast_20x49_i16_outb/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 49 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 49 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_20x49_i16_outi32/test.json b/operators/type_conversion/cast/cast_20x49_i16_outi32/test.json index 9a9ecc339..a1e7123f8 100644 --- a/operators/type_conversion/cast/cast_20x49_i16_outi32/test.json +++ b/operators/type_conversion/cast/cast_20x49_i16_outi32/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 49 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 49 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_20x49_i16_outi8/test.json b/operators/type_conversion/cast/cast_20x49_i16_outi8/test.json index b83087bb8..207e97df4 100644 --- a/operators/type_conversion/cast/cast_20x49_i16_outi8/test.json +++ b/operators/type_conversion/cast/cast_20x49_i16_outi8/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 49 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 20, + 49 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 49 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 20, - 49 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_25x20_i32_outb/test.json b/operators/type_conversion/cast/cast_25x20_i32_outb/test.json index bd33452ee..0cf629075 100644 --- a/operators/type_conversion/cast/cast_25x20_i32_outb/test.json +++ b/operators/type_conversion/cast/cast_25x20_i32_outb/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 20 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 25, + 20 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 20 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 25, - 20 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_25x20_i32_outi16/test.json b/operators/type_conversion/cast/cast_25x20_i32_outi16/test.json index edd092a8d..d8e077151 100644 --- a/operators/type_conversion/cast/cast_25x20_i32_outi16/test.json +++ b/operators/type_conversion/cast/cast_25x20_i32_outi16/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 20 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 25, + 20 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 20 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 25, - 20 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_25x20_i32_outi8/test.json b/operators/type_conversion/cast/cast_25x20_i32_outi8/test.json index 91d5601be..88310867d 100644 --- a/operators/type_conversion/cast/cast_25x20_i32_outi8/test.json +++ b/operators/type_conversion/cast/cast_25x20_i32_outi8/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 20 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 25, + 20 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 20 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 25, - 20 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_2x12x10x7_i8_outb/test.json b/operators/type_conversion/cast/cast_2x12x10x7_i8_outb/test.json index 4dec2ef0e..76a7c0e0d 100644 --- a/operators/type_conversion/cast/cast_2x12x10x7_i8_outb/test.json +++ b/operators/type_conversion/cast/cast_2x12x10x7_i8_outb/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_2x12x10x7_i8_outi16/test.json b/operators/type_conversion/cast/cast_2x12x10x7_i8_outi16/test.json index 87e871254..6dbf39c81 100644 --- a/operators/type_conversion/cast/cast_2x12x10x7_i8_outi16/test.json +++ b/operators/type_conversion/cast/cast_2x12x10x7_i8_outi16/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_2x12x10x7_i8_outi32/test.json b/operators/type_conversion/cast/cast_2x12x10x7_i8_outi32/test.json index 8e6d1fad5..642b2163c 100644 --- a/operators/type_conversion/cast/cast_2x12x10x7_i8_outi32/test.json +++ b/operators/type_conversion/cast/cast_2x12x10x7_i8_outi32/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_33x24x60_b_outi16/test.json b/operators/type_conversion/cast/cast_33x24x60_b_outi16/test.json index b30ab96e3..6679208a2 100644 --- a/operators/type_conversion/cast/cast_33x24x60_b_outi16/test.json +++ b/operators/type_conversion/cast/cast_33x24x60_b_outi16/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 33, + 24, + 60 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 33, + 24, + 60 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 33, - 24, - 60 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 33, - 24, - 60 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_33x24x60_b_outi32/test.json b/operators/type_conversion/cast/cast_33x24x60_b_outi32/test.json index 97d664f64..64c621da4 100644 --- a/operators/type_conversion/cast/cast_33x24x60_b_outi32/test.json +++ b/operators/type_conversion/cast/cast_33x24x60_b_outi32/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 33, + 24, + 60 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 33, + 24, + 60 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 33, - 24, - 60 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 33, - 24, - 60 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_33x24x60_b_outi8/test.json b/operators/type_conversion/cast/cast_33x24x60_b_outi8/test.json index 0098ebb92..5fce74c9b 100644 --- a/operators/type_conversion/cast/cast_33x24x60_b_outi8/test.json +++ b/operators/type_conversion/cast/cast_33x24x60_b_outi8/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 33, + 24, + 60 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 33, + 24, + 60 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 33, - 24, - 60 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 33, - 24, - 60 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_36x57_i8_outb/test.json b/operators/type_conversion/cast/cast_36x57_i8_outb/test.json index dc2eaa85e..367beb6b8 100644 --- a/operators/type_conversion/cast/cast_36x57_i8_outb/test.json +++ b/operators/type_conversion/cast/cast_36x57_i8_outb/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36, + 57 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 36, + 57 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36, - 57 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 36, - 57 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_36x57_i8_outi16/test.json b/operators/type_conversion/cast/cast_36x57_i8_outi16/test.json index 5c84c689f..7440f4de8 100644 --- a/operators/type_conversion/cast/cast_36x57_i8_outi16/test.json +++ b/operators/type_conversion/cast/cast_36x57_i8_outi16/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36, + 57 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 36, + 57 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36, - 57 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 36, - 57 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_36x57_i8_outi32/test.json b/operators/type_conversion/cast/cast_36x57_i8_outi32/test.json index 58fd513d0..f50bdf9c6 100644 --- a/operators/type_conversion/cast/cast_36x57_i8_outi32/test.json +++ b/operators/type_conversion/cast/cast_36x57_i8_outi32/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36, + 57 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 36, + 57 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 36, - 57 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 36, - 57 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_37_b_outi16/test.json b/operators/type_conversion/cast/cast_37_b_outi16/test.json index 2f229d161..51245ad88 100644 --- a/operators/type_conversion/cast/cast_37_b_outi16/test.json +++ b/operators/type_conversion/cast/cast_37_b_outi16/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 37 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 37 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 37 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 37 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_37_b_outi32/test.json b/operators/type_conversion/cast/cast_37_b_outi32/test.json index e1a413db0..e5e485219 100644 --- a/operators/type_conversion/cast/cast_37_b_outi32/test.json +++ b/operators/type_conversion/cast/cast_37_b_outi32/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 37 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 37 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_37_b_outi8/test.json b/operators/type_conversion/cast/cast_37_b_outi8/test.json index 9c936e155..384456c05 100644 --- a/operators/type_conversion/cast/cast_37_b_outi8/test.json +++ b/operators/type_conversion/cast/cast_37_b_outi8/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 37 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 37 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 37 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 37 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_41x62_b_outi16/test.json b/operators/type_conversion/cast/cast_41x62_b_outi16/test.json index cca81bb2b..44ac3222e 100644 --- a/operators/type_conversion/cast/cast_41x62_b_outi16/test.json +++ b/operators/type_conversion/cast/cast_41x62_b_outi16/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_41x62_b_outi32/test.json b/operators/type_conversion/cast/cast_41x62_b_outi32/test.json index bdf4adc1c..3423d6e30 100644 --- a/operators/type_conversion/cast/cast_41x62_b_outi32/test.json +++ b/operators/type_conversion/cast/cast_41x62_b_outi32/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_41x62_b_outi8/test.json b/operators/type_conversion/cast/cast_41x62_b_outi8/test.json index 47385df1f..7afd03e00 100644 --- a/operators/type_conversion/cast/cast_41x62_b_outi8/test.json +++ b/operators/type_conversion/cast/cast_41x62_b_outi8/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 62 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 41, + 62 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 62 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 41, - 62 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_47_i32_outb/test.json b/operators/type_conversion/cast/cast_47_i32_outb/test.json index 25709b7a0..b7177f08a 100644 --- a/operators/type_conversion/cast/cast_47_i32_outb/test.json +++ b/operators/type_conversion/cast/cast_47_i32_outb/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_47_i32_outi16/test.json b/operators/type_conversion/cast/cast_47_i32_outi16/test.json index f49b00695..3f88249dd 100644 --- a/operators/type_conversion/cast/cast_47_i32_outi16/test.json +++ b/operators/type_conversion/cast/cast_47_i32_outi16/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_47_i32_outi8/test.json b/operators/type_conversion/cast/cast_47_i32_outi8/test.json index 2aa07b284..b42c738de 100644 --- a/operators/type_conversion/cast/cast_47_i32_outi8/test.json +++ b/operators/type_conversion/cast/cast_47_i32_outi8/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_4x2x8x15_i32_outb/test.json b/operators/type_conversion/cast/cast_4x2x8x15_i32_outb/test.json index 8b89aff88..26df3d1eb 100644 --- a/operators/type_conversion/cast/cast_4x2x8x15_i32_outb/test.json +++ b/operators/type_conversion/cast/cast_4x2x8x15_i32_outb/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2, + 8, + 15 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 4, + 2, + 8, + 15 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 2, - 8, - 15 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 4, - 2, - 8, - 15 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_4x2x8x15_i32_outi16/test.json b/operators/type_conversion/cast/cast_4x2x8x15_i32_outi16/test.json index 68ea64ce3..a56704392 100644 --- a/operators/type_conversion/cast/cast_4x2x8x15_i32_outi16/test.json +++ b/operators/type_conversion/cast/cast_4x2x8x15_i32_outi16/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2, + 8, + 15 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 4, + 2, + 8, + 15 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 2, - 8, - 15 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 4, - 2, - 8, - 15 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_4x2x8x15_i32_outi8/test.json b/operators/type_conversion/cast/cast_4x2x8x15_i32_outi8/test.json index 32ba139fe..24bf439fc 100644 --- a/operators/type_conversion/cast/cast_4x2x8x15_i32_outi8/test.json +++ b/operators/type_conversion/cast/cast_4x2x8x15_i32_outi8/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2, + 8, + 15 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 4, + 2, + 8, + 15 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 2, - 8, - 15 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 4, - 2, - 8, - 15 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi16/test.json b/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi16/test.json index d8da6d7eb..72f7e6a64 100644 --- a/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi16/test.json +++ b/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi32/test.json b/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi32/test.json index f5773d003..2ce9507b1 100644 --- a/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi32/test.json +++ b/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi8/test.json b/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi8/test.json index 1cb152e3c..a3454ac38 100644 --- a/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi8/test.json +++ b/operators/type_conversion/cast/cast_4x2x9x14x1_b_outi8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4, + 2, + 9, + 14, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4, - 2, - 9, - 14, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_51x52x50_i8_outb/test.json b/operators/type_conversion/cast/cast_51x52x50_i8_outb/test.json index 89d5ee381..220fe618a 100644 --- a/operators/type_conversion/cast/cast_51x52x50_i8_outb/test.json +++ b/operators/type_conversion/cast/cast_51x52x50_i8_outb/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 51, + 52, + 50 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 51, + 52, + 50 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 51, - 52, - 50 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 51, - 52, - 50 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_51x52x50_i8_outi16/test.json b/operators/type_conversion/cast/cast_51x52x50_i8_outi16/test.json index 8c09b528a..ce2ebf10d 100644 --- a/operators/type_conversion/cast/cast_51x52x50_i8_outi16/test.json +++ b/operators/type_conversion/cast/cast_51x52x50_i8_outi16/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 51, + 52, + 50 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 51, + 52, + 50 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 51, - 52, - 50 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 51, - 52, - 50 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_51x52x50_i8_outi32/test.json b/operators/type_conversion/cast/cast_51x52x50_i8_outi32/test.json index 26d5e1868..8f08d26a0 100644 --- a/operators/type_conversion/cast/cast_51x52x50_i8_outi32/test.json +++ b/operators/type_conversion/cast/cast_51x52x50_i8_outi32/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 51, + 52, + 50 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 51, + 52, + 50 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 51, - 52, - 50 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 51, - 52, - 50 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_53_i16_outb/test.json b/operators/type_conversion/cast/cast_53_i16_outb/test.json index 6f48e577e..501810472 100644 --- a/operators/type_conversion/cast/cast_53_i16_outb/test.json +++ b/operators/type_conversion/cast/cast_53_i16_outb/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 53 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 53 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 53 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_53_i16_outi32/test.json b/operators/type_conversion/cast/cast_53_i16_outi32/test.json index 62180e61a..0c86d28db 100644 --- a/operators/type_conversion/cast/cast_53_i16_outi32/test.json +++ b/operators/type_conversion/cast/cast_53_i16_outi32/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 53 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 53 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 53 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_53_i16_outi8/test.json b/operators/type_conversion/cast/cast_53_i16_outi8/test.json index ba82032b1..53e009657 100644 --- a/operators/type_conversion/cast/cast_53_i16_outi8/test.json +++ b/operators/type_conversion/cast/cast_53_i16_outi8/test.json @@ -5,13 +5,40 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 53 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,28 +46,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 53 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 53 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_53x40x22_i16_outb/test.json b/operators/type_conversion/cast/cast_53x40x22_i16_outb/test.json index 5f122a0c6..427ba39b9 100644 --- a/operators/type_conversion/cast/cast_53x40x22_i16_outb/test.json +++ b/operators/type_conversion/cast/cast_53x40x22_i16_outb/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53, + 40, + 22 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 53, + 40, + 22 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 53, - 40, - 22 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 53, - 40, - 22 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_53x40x22_i16_outi32/test.json b/operators/type_conversion/cast/cast_53x40x22_i16_outi32/test.json index c165318fb..5972518df 100644 --- a/operators/type_conversion/cast/cast_53x40x22_i16_outi32/test.json +++ b/operators/type_conversion/cast/cast_53x40x22_i16_outi32/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53, + 40, + 22 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 53, + 40, + 22 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 53, - 40, - 22 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 53, - 40, - 22 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_53x40x22_i16_outi8/test.json b/operators/type_conversion/cast/cast_53x40x22_i16_outi8/test.json index 83b10415d..73d66dda5 100644 --- a/operators/type_conversion/cast/cast_53x40x22_i16_outi8/test.json +++ b/operators/type_conversion/cast/cast_53x40x22_i16_outi8/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53, + 40, + 22 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 53, + 40, + 22 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 53, - 40, - 22 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 53, - 40, - 22 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_56x37x40_i32_outb/test.json b/operators/type_conversion/cast/cast_56x37x40_i32_outb/test.json index bef810501..327c2faaa 100644 --- a/operators/type_conversion/cast/cast_56x37x40_i32_outb/test.json +++ b/operators/type_conversion/cast/cast_56x37x40_i32_outb/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_56x37x40_i32_outi16/test.json b/operators/type_conversion/cast/cast_56x37x40_i32_outi16/test.json index 7bc42c8ff..f24523beb 100644 --- a/operators/type_conversion/cast/cast_56x37x40_i32_outi16/test.json +++ b/operators/type_conversion/cast/cast_56x37x40_i32_outi16/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_56x37x40_i32_outi8/test.json b/operators/type_conversion/cast/cast_56x37x40_i32_outi8/test.json index 31017eee1..d50d833c2 100644 --- a/operators/type_conversion/cast/cast_56x37x40_i32_outi8/test.json +++ b/operators/type_conversion/cast/cast_56x37x40_i32_outi8/test.json @@ -5,13 +5,44 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 56, + 37, + 40 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,32 +50,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 56, - 37, - 40 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outb/test.json b/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outb/test.json index 1c9683c06..0472dce0a 100644 --- a/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outb/test.json +++ b/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outb/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 3, + 14, + 12, + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 6, + 3, + 14, + 12, + 10 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 3, - 14, - 12, - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 6, - 3, - 14, - 12, - 10 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outi32/test.json b/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outi32/test.json index d68247d6b..fa2869a18 100644 --- a/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outi32/test.json +++ b/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outi32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 3, + 14, + 12, + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 6, + 3, + 14, + 12, + 10 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 3, - 14, - 12, - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 6, - 3, - 14, - 12, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outi8/test.json b/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outi8/test.json index 87bc4a37a..747ec89bd 100644 --- a/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outi8/test.json +++ b/operators/type_conversion/cast/cast_6x3x14x12x10_i16_outi8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 3, + 14, + 12, + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 6, + 3, + 14, + 12, + 10 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 3, - 14, - 12, - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 6, - 3, - 14, - 12, - 10 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_7x13x2x11_i16_outb/test.json b/operators/type_conversion/cast/cast_7x13x2x11_i16_outb/test.json index 036495e63..192cbf0b0 100644 --- a/operators/type_conversion/cast/cast_7x13x2x11_i16_outb/test.json +++ b/operators/type_conversion/cast/cast_7x13x2x11_i16_outb/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 13, + 2, + 11 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 7, + 13, + 2, + 11 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 13, - 2, - 11 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 7, - 13, - 2, - 11 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_7x13x2x11_i16_outi32/test.json b/operators/type_conversion/cast/cast_7x13x2x11_i16_outi32/test.json index 250c2ce4d..2c1d27b5b 100644 --- a/operators/type_conversion/cast/cast_7x13x2x11_i16_outi32/test.json +++ b/operators/type_conversion/cast/cast_7x13x2x11_i16_outi32/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 13, + 2, + 11 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 7, + 13, + 2, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 13, - 2, - 11 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 7, - 13, - 2, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_7x13x2x11_i16_outi8/test.json b/operators/type_conversion/cast/cast_7x13x2x11_i16_outi8/test.json index c9d059982..6098ee6bd 100644 --- a/operators/type_conversion/cast/cast_7x13x2x11_i16_outi8/test.json +++ b/operators/type_conversion/cast/cast_7x13x2x11_i16_outi8/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 13, + 2, + 11 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 7, + 13, + 2, + 11 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 13, - 2, - 11 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 7, - 13, - 2, - 11 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outb/test.json b/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outb/test.json index a2f6c0817..9f288230b 100644 --- a/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outb/test.json +++ b/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outb/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 13, + 9, + 7, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 7, + 13, + 9, + 7, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 13, - 9, - 7, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 7, - 13, - 9, - 7, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outi16/test.json b/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outi16/test.json index 7ad43da2e..7691d0d83 100644 --- a/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outi16/test.json +++ b/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outi16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 13, + 9, + 7, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 7, + 13, + 9, + 7, + 7 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 13, - 9, - 7, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 7, - 13, - 9, - 7, - 7 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outi8/test.json b/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outi8/test.json index 91e374539..3df982bbd 100644 --- a/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outi8/test.json +++ b/operators/type_conversion/cast/cast_7x13x9x7x7_i32_outi8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 13, + 9, + 7, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 7, + 13, + 9, + 7, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 13, - 9, - 7, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 7, - 13, - 9, - 7, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outb/test.json b/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outb/test.json index 1f61dc674..8337094c8 100644 --- a/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outb/test.json +++ b/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outb/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8, + 2, + 13, + 7, + 8 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 8, + 2, + 13, + 7, + 8 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 8, - 2, - 13, - 7, - 8 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 8, - 2, - 13, - 7, - 8 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outi16/test.json b/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outi16/test.json index 3746e2e75..d54147c12 100644 --- a/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outi16/test.json +++ b/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outi16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8, + 2, + 13, + 7, + 8 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 8, + 2, + 13, + 7, + 8 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 8, - 2, - 13, - 7, - 8 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 8, - 2, - 13, - 7, - 8 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outi32/test.json b/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outi32/test.json index 3891f328d..412c8eb79 100644 --- a/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outi32/test.json +++ b/operators/type_conversion/cast/cast_8x2x13x7x8_i8_outi32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8, + 2, + 13, + 7, + 8 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 8, + 2, + 13, + 7, + 8 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -19,36 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 8, - 2, - 13, - 7, - 8 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 8, - 2, - 13, - 7, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_ERRORIF_WrongInputList_12x3_b_outi16/test.json b/operators/type_conversion/cast/cast_ERRORIF_WrongInputList_12x3_b_outi16/test.json index 294f6de99..338f2308b 100644 --- a/operators/type_conversion/cast/cast_ERRORIF_WrongInputList_12x3_b_outi16/test.json +++ b/operators/type_conversion/cast/cast_ERRORIF_WrongInputList_12x3_b_outi16/test.json @@ -5,44 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12, + 3 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12, - 3 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_ERRORIF_WrongInputType_10x7_i4_outb/test.json b/operators/type_conversion/cast/cast_ERRORIF_WrongInputType_10x7_i4_outb/test.json index 8f47b7e8c..0c7427909 100644 --- a/operators/type_conversion/cast/cast_ERRORIF_WrongInputType_10x7_i4_outb/test.json +++ b/operators/type_conversion/cast/cast_ERRORIF_WrongInputType_10x7_i4_outb/test.json @@ -5,13 +5,42 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 10, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -19,30 +48,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 10, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_ERRORIF_WrongOutputList_10x1x6x7_b_outi16/test.json b/operators/type_conversion/cast/cast_ERRORIF_WrongOutputList_10x1x6x7_b_outi16/test.json index a354b9640..2f59d76c0 100644 --- a/operators/type_conversion/cast/cast_ERRORIF_WrongOutputList_10x1x6x7_b_outi16/test.json +++ b/operators/type_conversion/cast/cast_ERRORIF_WrongOutputList_10x1x6x7_b_outi16/test.json @@ -5,48 +5,53 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 6, + 7 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 1, + 6, + 7 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 6, - 7 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 1, - 6, - 7 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/type_conversion/cast/cast_ERRORIF_WrongOutputType_11x12x12x3_i16_outi48/test.json b/operators/type_conversion/cast/cast_ERRORIF_WrongOutputType_11x12x12x3_i16_outi48/test.json index 4e859ef40..30e6dc611 100644 --- a/operators/type_conversion/cast/cast_ERRORIF_WrongOutputType_11x12x12x3_i16_outi48/test.json +++ b/operators/type_conversion/cast/cast_ERRORIF_WrongOutputType_11x12x12x3_i16_outi48/test.json @@ -5,13 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CAST", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 12, + 12, + 3 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11, + 12, + 12, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -19,34 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 12, - 12, - 3 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11, - 12, - 12, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |