aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reverse
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/reverse')
-rw-r--r--operators/data_layout/reverse/reverse_12x6x29_b_axis0/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_14_b_axis0/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_14x27_i8_axis0/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_17x14x14x8_i16_axis1/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_17x31_b_axis0/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_19x39x26x21_f32_axis2/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_1x1x65535_i8_axis0/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_1x1x65537_f32_axis1/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_1x65535x1x2_f32_axis0/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_1x65540x1x2_i8_axis3/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_21_i32_axis0/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_21x21_f16_axis0/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_23x24x23_i8_axis0/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_24_i16_axis0/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_25x16x4_i16_axis1/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_25x20x13x26_i8_axis3/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_27x14x16_i32_axis2/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_27x26x9x20_b_axis0/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_31_f32_axis0/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_33x10_f32_axis1/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_35x36x34_bf16_axis2/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_37_bf16_axis0/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_37x25x7_f32_axis2/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_3_i8_axis0/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_3x18x28x2_i32_axis2/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_3x22_i16_axis1/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_40x22x24x18_f16_axis0/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_5_f16_axis0/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_5x25x46_f16_axis1/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_9x44x37x31_bf16_axis3/test.json75
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_10x11x2_i32_axis6/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_11_f16_axis5/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_bf16_axis-3/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_i16_axis-3/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_10_f32_axis0/test.json65
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_11_i16_axis0/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_10_i4_axis0/test.json63
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_11x10x8_i48_axis0/test.json71
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_10x2x12x7_i32_axis0/test.json79
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_11x10x10x6_f32_axis0/test.json79
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_10x8_f16_axis0/test.json67
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_2_i8_axis0/test.json63
44 files changed, 1629 insertions, 1409 deletions
diff --git a/operators/data_layout/reverse/reverse_12x6x29_b_axis0/test.json b/operators/data_layout/reverse/reverse_12x6x29_b_axis0/test.json
index 26c7c79a9..0c66aa79c 100644
--- a/operators/data_layout/reverse/reverse_12x6x29_b_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_12x6x29_b_axis0/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 6,
+ 29
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12,
+ 6,
+ 29
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12,
- 6,
- 29
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 12,
- 6,
- 29
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_14_b_axis0/test.json b/operators/data_layout/reverse/reverse_14_b_axis0/test.json
index b3772e98e..0a175b46b 100644
--- a/operators/data_layout/reverse/reverse_14_b_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_14_b_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 14
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 14
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 14
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 14
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_14x27_i8_axis0/test.json b/operators/data_layout/reverse/reverse_14x27_i8_axis0/test.json
index 321557737..853a00b49 100644
--- a/operators/data_layout/reverse/reverse_14x27_i8_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_14x27_i8_axis0/test.json
@@ -5,16 +5,45 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 14,
+ 27
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 14,
+ 27
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,30 +51,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 14,
- 27
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 14,
- 27
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_17x14x14x8_i16_axis1/test.json b/operators/data_layout/reverse/reverse_17x14x14x8_i16_axis1/test.json
index b407e5461..ac14c33e5 100644
--- a/operators/data_layout/reverse/reverse_17x14x14x8_i16_axis1/test.json
+++ b/operators/data_layout/reverse/reverse_17x14x14x8_i16_axis1/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 1
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 17,
+ 14,
+ 14,
+ 8
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 17,
+ 14,
+ 14,
+ 8
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 17,
- 14,
- 14,
- 8
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 17,
- 14,
- 14,
- 8
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_17x31_b_axis0/test.json b/operators/data_layout/reverse/reverse_17x31_b_axis0/test.json
index b37fa31d6..fbba0e73a 100644
--- a/operators/data_layout/reverse/reverse_17x31_b_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_17x31_b_axis0/test.json
@@ -5,16 +5,45 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 17,
+ 31
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 17,
+ 31
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,30 +51,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 17,
- 31
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 17,
- 31
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_19x39x26x21_f32_axis2/test.json b/operators/data_layout/reverse/reverse_19x39x26x21_f32_axis2/test.json
index f5c19de40..cc1596801 100644
--- a/operators/data_layout/reverse/reverse_19x39x26x21_f32_axis2/test.json
+++ b/operators/data_layout/reverse/reverse_19x39x26x21_f32_axis2/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 2
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 2
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 19,
+ 39,
+ 26,
+ 21
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 19,
+ 39,
+ 26,
+ 21
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 19,
- 39,
- 26,
- 21
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 19,
- 39,
- 26,
- 21
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_1x1x65535_i8_axis0/test.json b/operators/data_layout/reverse/reverse_1x1x65535_i8_axis0/test.json
index 69681a716..752bfafc0 100644
--- a/operators/data_layout/reverse/reverse_1x1x65535_i8_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_1x1x65535_i8_axis0/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 65535
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 65535
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 1,
- 65535
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 1,
- 65535
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_1x1x65537_f32_axis1/test.json b/operators/data_layout/reverse/reverse_1x1x65537_f32_axis1/test.json
index 3391a9b12..ad03db831 100644
--- a/operators/data_layout/reverse/reverse_1x1x65537_f32_axis1/test.json
+++ b/operators/data_layout/reverse/reverse_1x1x65537_f32_axis1/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 1
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 65537
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 65537
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 1,
- 65537
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 1,
- 65537
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_1x65535x1x2_f32_axis0/test.json b/operators/data_layout/reverse/reverse_1x65535x1x2_f32_axis0/test.json
index a3dd51fc6..0a6317aef 100644
--- a/operators/data_layout/reverse/reverse_1x65535x1x2_f32_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_1x65535x1x2_f32_axis0/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65535,
+ 1,
+ 2
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65535,
+ 1,
+ 2
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65535,
- 1,
- 2
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65535,
- 1,
- 2
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_1x65540x1x2_i8_axis3/test.json b/operators/data_layout/reverse/reverse_1x65540x1x2_i8_axis3/test.json
index 65fb8c327..972faeb82 100644
--- a/operators/data_layout/reverse/reverse_1x65540x1x2_i8_axis3/test.json
+++ b/operators/data_layout/reverse/reverse_1x65540x1x2_i8_axis3/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 3
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 3
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65540,
+ 1,
+ 2
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65540,
+ 1,
+ 2
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65540,
- 1,
- 2
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65540,
- 1,
- 2
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_21_i32_axis0/test.json b/operators/data_layout/reverse/reverse_21_i32_axis0/test.json
index a69f11c31..a8525e51d 100644
--- a/operators/data_layout/reverse/reverse_21_i32_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_21_i32_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 21
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 21
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 21
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 21
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_21x21_f16_axis0/test.json b/operators/data_layout/reverse/reverse_21x21_f16_axis0/test.json
index 75afc64b8..91a0c7e03 100644
--- a/operators/data_layout/reverse/reverse_21x21_f16_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_21x21_f16_axis0/test.json
@@ -5,16 +5,45 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 21,
+ 21
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 21,
+ 21
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,30 +51,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 21,
- 21
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 21,
- 21
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_23x24x23_i8_axis0/test.json b/operators/data_layout/reverse/reverse_23x24x23_i8_axis0/test.json
index 07ce6b4d6..c5a85cf6f 100644
--- a/operators/data_layout/reverse/reverse_23x24x23_i8_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_23x24x23_i8_axis0/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 23,
+ 24,
+ 23
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 23,
+ 24,
+ 23
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 23,
- 24,
- 23
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 23,
- 24,
- 23
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_24_i16_axis0/test.json b/operators/data_layout/reverse/reverse_24_i16_axis0/test.json
index fe1230e71..566da964d 100644
--- a/operators/data_layout/reverse/reverse_24_i16_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_24_i16_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 24
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 24
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 24
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 24
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_25x16x4_i16_axis1/test.json b/operators/data_layout/reverse/reverse_25x16x4_i16_axis1/test.json
index b2a657739..b62f5473c 100644
--- a/operators/data_layout/reverse/reverse_25x16x4_i16_axis1/test.json
+++ b/operators/data_layout/reverse/reverse_25x16x4_i16_axis1/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 1
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 25,
+ 16,
+ 4
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 25,
+ 16,
+ 4
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 25,
- 16,
- 4
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 25,
- 16,
- 4
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_25x20x13x26_i8_axis3/test.json b/operators/data_layout/reverse/reverse_25x20x13x26_i8_axis3/test.json
index bc79479d7..6fccded8a 100644
--- a/operators/data_layout/reverse/reverse_25x20x13x26_i8_axis3/test.json
+++ b/operators/data_layout/reverse/reverse_25x20x13x26_i8_axis3/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 3
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 3
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 25,
+ 20,
+ 13,
+ 26
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 25,
+ 20,
+ 13,
+ 26
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 25,
- 20,
- 13,
- 26
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 25,
- 20,
- 13,
- 26
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_27x14x16_i32_axis2/test.json b/operators/data_layout/reverse/reverse_27x14x16_i32_axis2/test.json
index a9574732c..17976d50a 100644
--- a/operators/data_layout/reverse/reverse_27x14x16_i32_axis2/test.json
+++ b/operators/data_layout/reverse/reverse_27x14x16_i32_axis2/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 2
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 2
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 27,
+ 14,
+ 16
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 27,
+ 14,
+ 16
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 27,
- 14,
- 16
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 27,
- 14,
- 16
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_27x26x9x20_b_axis0/test.json b/operators/data_layout/reverse/reverse_27x26x9x20_b_axis0/test.json
index 99ed41dbc..a6ffa3e6e 100644
--- a/operators/data_layout/reverse/reverse_27x26x9x20_b_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_27x26x9x20_b_axis0/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 27,
+ 26,
+ 9,
+ 20
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 27,
+ 26,
+ 9,
+ 20
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 27,
- 26,
- 9,
- 20
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 27,
- 26,
- 9,
- 20
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_31_f32_axis0/test.json b/operators/data_layout/reverse/reverse_31_f32_axis0/test.json
index b9d2d6c46..fefb2f84e 100644
--- a/operators/data_layout/reverse/reverse_31_f32_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_31_f32_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 31
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 31
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 31
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 31
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_33x10_f32_axis1/test.json b/operators/data_layout/reverse/reverse_33x10_f32_axis1/test.json
index 76feb2fd5..245577feb 100644
--- a/operators/data_layout/reverse/reverse_33x10_f32_axis1/test.json
+++ b/operators/data_layout/reverse/reverse_33x10_f32_axis1/test.json
@@ -5,16 +5,45 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 1
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 33,
+ 10
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 33,
+ 10
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,30 +51,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 33,
- 10
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 33,
- 10
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_35x36x34_bf16_axis2/test.json b/operators/data_layout/reverse/reverse_35x36x34_bf16_axis2/test.json
index 483d03d5b..9337ae6b6 100644
--- a/operators/data_layout/reverse/reverse_35x36x34_bf16_axis2/test.json
+++ b/operators/data_layout/reverse/reverse_35x36x34_bf16_axis2/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 2
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 2
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 35,
+ 36,
+ 34
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 35,
+ 36,
+ 34
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 35,
- 36,
- 34
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 35,
- 36,
- 34
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_37_bf16_axis0/test.json b/operators/data_layout/reverse/reverse_37_bf16_axis0/test.json
index b689ea375..daa082a60 100644
--- a/operators/data_layout/reverse/reverse_37_bf16_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_37_bf16_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 37
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 37
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 37
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 37
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_37x25x7_f32_axis2/test.json b/operators/data_layout/reverse/reverse_37x25x7_f32_axis2/test.json
index 2004219b9..08778c41d 100644
--- a/operators/data_layout/reverse/reverse_37x25x7_f32_axis2/test.json
+++ b/operators/data_layout/reverse/reverse_37x25x7_f32_axis2/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 2
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 2
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 37,
+ 25,
+ 7
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 37,
+ 25,
+ 7
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 37,
- 25,
- 7
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 37,
- 25,
- 7
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_3_i8_axis0/test.json b/operators/data_layout/reverse/reverse_3_i8_axis0/test.json
index e53156f8f..457dec949 100644
--- a/operators/data_layout/reverse/reverse_3_i8_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_3_i8_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 3
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 3
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_3x18x28x2_i32_axis2/test.json b/operators/data_layout/reverse/reverse_3x18x28x2_i32_axis2/test.json
index d9ca3ea03..51846687b 100644
--- a/operators/data_layout/reverse/reverse_3x18x28x2_i32_axis2/test.json
+++ b/operators/data_layout/reverse/reverse_3x18x28x2_i32_axis2/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 2
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 2
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3,
+ 18,
+ 28,
+ 2
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3,
+ 18,
+ 28,
+ 2
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 3,
- 18,
- 28,
- 2
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 3,
- 18,
- 28,
- 2
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_3x22_i16_axis1/test.json b/operators/data_layout/reverse/reverse_3x22_i16_axis1/test.json
index be24331fd..2ad26d2f2 100644
--- a/operators/data_layout/reverse/reverse_3x22_i16_axis1/test.json
+++ b/operators/data_layout/reverse/reverse_3x22_i16_axis1/test.json
@@ -5,16 +5,45 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 1
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3,
+ 22
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3,
+ 22
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,30 +51,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 3,
- 22
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 3,
- 22
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_40x22x24x18_f16_axis0/test.json b/operators/data_layout/reverse/reverse_40x22x24x18_f16_axis0/test.json
index f9f6f7fd0..9e6d37cd0 100644
--- a/operators/data_layout/reverse/reverse_40x22x24x18_f16_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_40x22x24x18_f16_axis0/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 40,
+ 22,
+ 24,
+ 18
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 40,
+ 22,
+ 24,
+ 18
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 40,
- 22,
- 24,
- 18
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 40,
- 22,
- 24,
- 18
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json
index c4115b240..93c63fc5f 100644
--- a/operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json
@@ -5,16 +5,45 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 41,
+ 5
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 41,
+ 5
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,30 +51,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 41,
- 5
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 41,
- 5
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_5_f16_axis0/test.json b/operators/data_layout/reverse/reverse_5_f16_axis0/test.json
index a8aed97ba..e4b7b9e51 100644
--- a/operators/data_layout/reverse/reverse_5_f16_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_5_f16_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 5
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 5
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_5x25x46_f16_axis1/test.json b/operators/data_layout/reverse/reverse_5x25x46_f16_axis1/test.json
index d84627cba..2aab4e205 100644
--- a/operators/data_layout/reverse/reverse_5x25x46_f16_axis1/test.json
+++ b/operators/data_layout/reverse/reverse_5x25x46_f16_axis1/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 1
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5,
+ 25,
+ 46
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 25,
+ 46
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 5,
- 25,
- 46
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 5,
- 25,
- 46
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json b/operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json
index a3f0694cc..a7cf6c027 100644
--- a/operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json
@@ -5,16 +5,45 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 7,
+ 3
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 7,
+ 3
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,30 +51,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 7,
- 3
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 7,
- 3
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_9x44x37x31_bf16_axis3/test.json b/operators/data_layout/reverse/reverse_9x44x37x31_bf16_axis3/test.json
index 61588c990..3a331ec3a 100644
--- a/operators/data_layout/reverse/reverse_9x44x37x31_bf16_axis3/test.json
+++ b/operators/data_layout/reverse/reverse_9x44x37x31_bf16_axis3/test.json
@@ -5,16 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 3
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 3
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 9,
+ 44,
+ 37,
+ 31
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 9,
+ 44,
+ 37,
+ 31
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,34 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 9,
- 44,
- 37,
- 31
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 9,
- 44,
- 37,
- 31
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_10x11x2_i32_axis6/test.json b/operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_10x11x2_i32_axis6/test.json
index 6f5db1897..aab96b525 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_10x11x2_i32_axis6/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_10x11x2_i32_axis6/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 6
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 6
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 11,
+ 2
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 11,
+ 2
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 11,
- 2
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 11,
- 2
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_11_f16_axis5/test.json b/operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_11_f16_axis5/test.json
index 66e9a91fa..abc028750 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_11_f16_axis5/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_AxisLargerRank_11_f16_axis5/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 5
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 5
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 11
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_bf16_axis-3/test.json b/operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_bf16_axis-3/test.json
index 2b1d1817b..e7608336c 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_bf16_axis-3/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_bf16_axis-3/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: -3
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: -3
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 10
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_i16_axis-3/test.json b/operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_i16_axis-3/test.json
index d19f9b172..9be301098 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_i16_axis-3/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_AxisSmallerZero_10_i16_axis-3/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: -3
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: -3
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 10
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_10_f32_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_10_f32_axis0/test.json
index 4af58be6f..e2dd7f953 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_10_f32_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_10_f32_axis0/test.json
@@ -5,45 +5,50 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 10
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_11_i16_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_11_i16_axis0/test.json
index 95e8d0d69..b143d8036 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_11_i16_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputList_11_i16_axis0/test.json
@@ -5,46 +5,51 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
- "input-0",
- "eiDummyInput"
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 11
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_10_i4_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_10_i4_axis0/test.json
index c8f3d3fac..d910c74ef 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_10_i4_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_10_i4_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10
+ ],
+ type: "INT4"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10
+ ],
+ type: "INT4"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10
- ],
- type: "INT4"
- },
- {
- name: "result-0",
- shape: [
- 10
- ],
- type: "INT4"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_11x10x8_i48_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_11x10x8_i48_axis0/test.json
index 020cfda99..2a3426138 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_11x10x8_i48_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_11x10x8_i48_axis0/test.json
@@ -5,16 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 10,
+ 8
+ ],
+ type: "INT48"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 10,
+ 8
+ ],
+ type: "INT48"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,32 +53,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 10,
- 8
- ],
- type: "INT48"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 10,
- 8
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_10x2x12x7_i32_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_10x2x12x7_i32_axis0/test.json
index 18f2adf44..c0b6d1dd7 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_10x2x12x7_i32_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_10x2x12x7_i32_axis0/test.json
@@ -5,52 +5,57 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0",
+ "eiDummyOutput"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 2,
+ 12,
+ 7
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 2,
+ 12,
+ 7
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
outputs: [
- "result-0",
- "eiDummyOutput"
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 2,
- 12,
- 7
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 2,
- 12,
- 7
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_11x10x10x6_f32_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_11x10x10x6_f32_axis0/test.json
index 431e6e42c..584d40d99 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_11x10x10x6_f32_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputList_11x10x10x6_f32_axis0/test.json
@@ -5,52 +5,57 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0",
+ "eiDummyOutput"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 10,
+ 10,
+ 6
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 10,
+ 10,
+ 6
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
outputs: [
- "result-0",
- "eiDummyOutput"
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 10,
- 10,
- 6
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 10,
- 10,
- 6
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_10x8_f16_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_10x8_f16_axis0/test.json
index d58239a6d..46f2f2220 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_10x8_f16_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_10x8_f16_axis0/test.json
@@ -5,16 +5,45 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 8
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 8
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,30 +51,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 8
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 8
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_2_i8_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_2_i8_axis0/test.json
index 725028660..9943052ec 100644
--- a/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_2_i8_axis0/test.json
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongOutputType_2_i8_axis0/test.json
@@ -5,16 +5,43 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "REVERSE",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -22,28 +49,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 2
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]