aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/slice
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 15:17:52 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 16:40:57 +0000
commitb08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch)
tree4b4737ff52e92c1c17922a972384930953a26a61 /operators/data_layout/slice
parent007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff)
downloadconformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'operators/data_layout/slice')
-rw-r--r--operators/data_layout/slice/slice_1x1x65535x1_i8_perm0/test.json97
-rw-r--r--operators/data_layout/slice/slice_1x1x65535x1_i8_perm1/test.json97
-rw-r--r--operators/data_layout/slice/slice_1x65538x1x2_i8_perm0/test.json97
-rw-r--r--operators/data_layout/slice/slice_20_i8_perm0/test.json73
-rw-r--r--operators/data_layout/slice/slice_20_i8_perm1/test.json73
-rw-r--r--operators/data_layout/slice/slice_37x37_i16_perm0/test.json81
-rw-r--r--operators/data_layout/slice/slice_37x37_i16_perm1/test.json81
-rw-r--r--operators/data_layout/slice/slice_37x40_i8_perm0/test.json81
-rw-r--r--operators/data_layout/slice/slice_37x40_i8_perm1/test.json81
-rw-r--r--operators/data_layout/slice/slice_41_i32_perm1/test.json73
-rw-r--r--operators/data_layout/slice/slice_46x23_i32_perm0/test.json81
-rw-r--r--operators/data_layout/slice/slice_48x38x31_i16_perm0/test.json89
-rw-r--r--operators/data_layout/slice/slice_48x38x31_i16_perm1/test.json89
-rw-r--r--operators/data_layout/slice/slice_48x60x51_i8_perm0/test.json89
-rw-r--r--operators/data_layout/slice/slice_48x60x51_i8_perm1/test.json89
-rw-r--r--operators/data_layout/slice/slice_50_b_perm0/test.json73
-rw-r--r--operators/data_layout/slice/slice_50_b_perm1/test.json73
-rw-r--r--operators/data_layout/slice/slice_53x52_b_perm0/test.json81
-rw-r--r--operators/data_layout/slice/slice_53x52_b_perm1/test.json81
-rw-r--r--operators/data_layout/slice/slice_54x53x53_b_perm0/test.json89
-rw-r--r--operators/data_layout/slice/slice_55x36x54_i32_perm0/test.json89
-rw-r--r--operators/data_layout/slice/slice_57_i16_perm0/test.json73
-rw-r--r--operators/data_layout/slice/slice_57_i16_perm1/test.json73
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_InputSizeStartLengthMismatch_11x3_i16_perm0/test.json75
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_SizeOutputShapeMismatch_10x15x7x2_i16_perm5/test.json97
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_11x4_b_perm2/test.json81
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_StartSizeOutsideBounds_10x7_i32_perm0/test.json81
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_StartSmallerZero_12_i16_perm0/test.json73
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_WrongInputList_6x12_i8_perm5/test.json83
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_WrongInputType_10x12x4x8_i48_perm3/test.json97
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_WrongOutputList_10_i16_perm2/test.json77
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_WrongOutputType_10x13x4x13_i32_perm5/test.json97
-rw-r--r--operators/data_layout/slice/slice_ERRORIF_WrongRank_1x2x7x10x7_i8_perm5/test.json105
33 files changed, 1467 insertions, 1302 deletions
diff --git a/operators/data_layout/slice/slice_1x1x65535x1_i8_perm0/test.json b/operators/data_layout/slice/slice_1x1x65535x1_i8_perm0/test.json
index c2d4b0d46..279cd3c11 100644
--- a/operators/data_layout/slice/slice_1x1x65535x1_i8_perm0/test.json
+++ b/operators/data_layout/slice/slice_1x1x65535x1_i8_perm0/test.json
@@ -5,27 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 0,
- 0,
- 5849,
- 0
- ],
- size: [
- 1,
- 1,
- 46194,
- 1
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 0,
+ 0,
+ 5849,
+ 0
+ ],
+ size: [
+ 1,
+ 1,
+ 46194,
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 65535,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 46194,
+ 1
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -33,34 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 1,
- 65535,
- 1
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 1,
- 46194,
- 1
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_1x1x65535x1_i8_perm1/test.json b/operators/data_layout/slice/slice_1x1x65535x1_i8_perm1/test.json
index dda8f9ff1..0cae66b24 100644
--- a/operators/data_layout/slice/slice_1x1x65535x1_i8_perm1/test.json
+++ b/operators/data_layout/slice/slice_1x1x65535x1_i8_perm1/test.json
@@ -5,27 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 0,
- 0,
- 42897,
- 0
- ],
- size: [
- 1,
- 1,
- 9935,
- 1
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 0,
+ 0,
+ 42897,
+ 0
+ ],
+ size: [
+ 1,
+ 1,
+ 9935,
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 65535,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 9935,
+ 1
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -33,34 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 1,
- 65535,
- 1
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 1,
- 9935,
- 1
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_1x65538x1x2_i8_perm0/test.json b/operators/data_layout/slice/slice_1x65538x1x2_i8_perm0/test.json
index 02c5fd576..bf500c58a 100644
--- a/operators/data_layout/slice/slice_1x65538x1x2_i8_perm0/test.json
+++ b/operators/data_layout/slice/slice_1x65538x1x2_i8_perm0/test.json
@@ -5,27 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 0,
- 28378,
- 0,
- 0
- ],
- size: [
- 1,
- 31905,
- 1,
- 1
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 0,
+ 28378,
+ 0,
+ 0
+ ],
+ size: [
+ 1,
+ 31905,
+ 1,
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65538,
+ 1,
+ 2
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 31905,
+ 1,
+ 1
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -33,34 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65538,
- 1,
- 2
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 31905,
- 1,
- 1
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_20_i8_perm0/test.json b/operators/data_layout/slice/slice_20_i8_perm0/test.json
index 388c066f1..9a856499d 100644
--- a/operators/data_layout/slice/slice_20_i8_perm0/test.json
+++ b/operators/data_layout/slice/slice_20_i8_perm0/test.json
@@ -5,21 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 15
- ],
- size: [
- 3
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 15
+ ],
+ size: [
+ 3
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,28 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 3
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_20_i8_perm1/test.json b/operators/data_layout/slice/slice_20_i8_perm1/test.json
index 641d211ed..cc57ba0c5 100644
--- a/operators/data_layout/slice/slice_20_i8_perm1/test.json
+++ b/operators/data_layout/slice/slice_20_i8_perm1/test.json
@@ -5,21 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 8
- ],
- size: [
- 5
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 8
+ ],
+ size: [
+ 5
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,28 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 5
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_37x37_i16_perm0/test.json b/operators/data_layout/slice/slice_37x37_i16_perm0/test.json
index a14a25bc1..e617335cc 100644
--- a/operators/data_layout/slice/slice_37x37_i16_perm0/test.json
+++ b/operators/data_layout/slice/slice_37x37_i16_perm0/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 8,
- 20
- ],
- size: [
- 2,
- 15
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 8,
+ 20
+ ],
+ size: [
+ 2,
+ 15
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 37,
+ 37
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 15
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 37,
- 37
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 15
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_37x37_i16_perm1/test.json b/operators/data_layout/slice/slice_37x37_i16_perm1/test.json
index 83dfd1ee6..18a8557a3 100644
--- a/operators/data_layout/slice/slice_37x37_i16_perm1/test.json
+++ b/operators/data_layout/slice/slice_37x37_i16_perm1/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 2,
- 30
- ],
- size: [
- 30,
- 1
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 2,
+ 30
+ ],
+ size: [
+ 30,
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 37,
+ 37
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 30,
+ 1
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 37,
- 37
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 30,
- 1
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_37x40_i8_perm0/test.json b/operators/data_layout/slice/slice_37x40_i8_perm0/test.json
index 3f017206d..ecc569202 100644
--- a/operators/data_layout/slice/slice_37x40_i8_perm0/test.json
+++ b/operators/data_layout/slice/slice_37x40_i8_perm0/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 13,
- 37
- ],
- size: [
- 4,
- 2
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 13,
+ 37
+ ],
+ size: [
+ 4,
+ 2
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 37,
+ 40
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4,
+ 2
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 37,
- 40
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 4,
- 2
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_37x40_i8_perm1/test.json b/operators/data_layout/slice/slice_37x40_i8_perm1/test.json
index 2ba4416d5..5fe3f423a 100644
--- a/operators/data_layout/slice/slice_37x40_i8_perm1/test.json
+++ b/operators/data_layout/slice/slice_37x40_i8_perm1/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 23,
- 32
- ],
- size: [
- 5,
- 4
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 23,
+ 32
+ ],
+ size: [
+ 5,
+ 4
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 37,
+ 40
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 4
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 37,
- 40
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 5,
- 4
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_41_i32_perm1/test.json b/operators/data_layout/slice/slice_41_i32_perm1/test.json
index a3e3d356b..6d12fde8a 100644
--- a/operators/data_layout/slice/slice_41_i32_perm1/test.json
+++ b/operators/data_layout/slice/slice_41_i32_perm1/test.json
@@ -5,21 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 30
- ],
- size: [
- 8
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 30
+ ],
+ size: [
+ 8
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 41
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 8
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,28 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 41
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 8
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_46x23_i32_perm0/test.json b/operators/data_layout/slice/slice_46x23_i32_perm0/test.json
index 0de6a98dc..bf5e83458 100644
--- a/operators/data_layout/slice/slice_46x23_i32_perm0/test.json
+++ b/operators/data_layout/slice/slice_46x23_i32_perm0/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 34,
- 8
- ],
- size: [
- 8,
- 1
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 34,
+ 8
+ ],
+ size: [
+ 8,
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 46,
+ 23
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 8,
+ 1
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 46,
- 23
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 8,
- 1
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_48x38x31_i16_perm0/test.json b/operators/data_layout/slice/slice_48x38x31_i16_perm0/test.json
index 325ce6332..52c70d4c0 100644
--- a/operators/data_layout/slice/slice_48x38x31_i16_perm0/test.json
+++ b/operators/data_layout/slice/slice_48x38x31_i16_perm0/test.json
@@ -5,25 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 10,
- 25,
- 13
- ],
- size: [
- 21,
- 12,
- 2
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 10,
+ 25,
+ 13
+ ],
+ size: [
+ 21,
+ 12,
+ 2
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 48,
+ 38,
+ 31
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 21,
+ 12,
+ 2
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -31,32 +62,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 48,
- 38,
- 31
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 21,
- 12,
- 2
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_48x38x31_i16_perm1/test.json b/operators/data_layout/slice/slice_48x38x31_i16_perm1/test.json
index 1dbd6dc46..118c313ed 100644
--- a/operators/data_layout/slice/slice_48x38x31_i16_perm1/test.json
+++ b/operators/data_layout/slice/slice_48x38x31_i16_perm1/test.json
@@ -5,25 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 39,
- 26,
- 9
- ],
- size: [
- 5,
- 1,
- 16
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 39,
+ 26,
+ 9
+ ],
+ size: [
+ 5,
+ 1,
+ 16
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 48,
+ 38,
+ 31
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 1,
+ 16
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -31,32 +62,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 48,
- 38,
- 31
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 5,
- 1,
- 16
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_48x60x51_i8_perm0/test.json b/operators/data_layout/slice/slice_48x60x51_i8_perm0/test.json
index 374c8dbe4..ddd6fd2a9 100644
--- a/operators/data_layout/slice/slice_48x60x51_i8_perm0/test.json
+++ b/operators/data_layout/slice/slice_48x60x51_i8_perm0/test.json
@@ -5,25 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 17,
- 24,
- 46
- ],
- size: [
- 29,
- 11,
- 1
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 17,
+ 24,
+ 46
+ ],
+ size: [
+ 29,
+ 11,
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 48,
+ 60,
+ 51
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 29,
+ 11,
+ 1
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -31,32 +62,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 48,
- 60,
- 51
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 29,
- 11,
- 1
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_48x60x51_i8_perm1/test.json b/operators/data_layout/slice/slice_48x60x51_i8_perm1/test.json
index e0e3d1c50..395357056 100644
--- a/operators/data_layout/slice/slice_48x60x51_i8_perm1/test.json
+++ b/operators/data_layout/slice/slice_48x60x51_i8_perm1/test.json
@@ -5,25 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 3,
- 47,
- 23
- ],
- size: [
- 21,
- 2,
- 3
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 3,
+ 47,
+ 23
+ ],
+ size: [
+ 21,
+ 2,
+ 3
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 48,
+ 60,
+ 51
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 21,
+ 2,
+ 3
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -31,32 +62,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 48,
- 60,
- 51
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 21,
- 2,
- 3
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_50_b_perm0/test.json b/operators/data_layout/slice/slice_50_b_perm0/test.json
index fd126faa8..da82aa4d1 100644
--- a/operators/data_layout/slice/slice_50_b_perm0/test.json
+++ b/operators/data_layout/slice/slice_50_b_perm0/test.json
@@ -5,21 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 39
- ],
- size: [
- 5
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 39
+ ],
+ size: [
+ 5
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 50
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,28 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 50
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 5
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_50_b_perm1/test.json b/operators/data_layout/slice/slice_50_b_perm1/test.json
index 411b27156..1d7e20d12 100644
--- a/operators/data_layout/slice/slice_50_b_perm1/test.json
+++ b/operators/data_layout/slice/slice_50_b_perm1/test.json
@@ -5,21 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 6
- ],
- size: [
- 36
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 6
+ ],
+ size: [
+ 36
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 50
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 36
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,28 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 50
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 36
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_53x52_b_perm0/test.json b/operators/data_layout/slice/slice_53x52_b_perm0/test.json
index 155078357..68df9954c 100644
--- a/operators/data_layout/slice/slice_53x52_b_perm0/test.json
+++ b/operators/data_layout/slice/slice_53x52_b_perm0/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 10,
- 24
- ],
- size: [
- 15,
- 13
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 10,
+ 24
+ ],
+ size: [
+ 15,
+ 13
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 53,
+ 52
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 15,
+ 13
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 53,
- 52
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 15,
- 13
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_53x52_b_perm1/test.json b/operators/data_layout/slice/slice_53x52_b_perm1/test.json
index e63c10089..77b45485a 100644
--- a/operators/data_layout/slice/slice_53x52_b_perm1/test.json
+++ b/operators/data_layout/slice/slice_53x52_b_perm1/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 2,
- 8
- ],
- size: [
- 27,
- 32
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 2,
+ 8
+ ],
+ size: [
+ 27,
+ 32
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 53,
+ 52
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 27,
+ 32
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 53,
- 52
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 27,
- 32
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_54x53x53_b_perm0/test.json b/operators/data_layout/slice/slice_54x53x53_b_perm0/test.json
index 79079fe57..ca3b622bc 100644
--- a/operators/data_layout/slice/slice_54x53x53_b_perm0/test.json
+++ b/operators/data_layout/slice/slice_54x53x53_b_perm0/test.json
@@ -5,25 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 35,
- 37,
- 41
- ],
- size: [
- 8,
- 4,
- 6
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 35,
+ 37,
+ 41
+ ],
+ size: [
+ 8,
+ 4,
+ 6
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 54,
+ 53,
+ 53
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 8,
+ 4,
+ 6
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -31,32 +62,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 54,
- 53,
- 53
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 8,
- 4,
- 6
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_55x36x54_i32_perm0/test.json b/operators/data_layout/slice/slice_55x36x54_i32_perm0/test.json
index 34207f429..cb075bf9a 100644
--- a/operators/data_layout/slice/slice_55x36x54_i32_perm0/test.json
+++ b/operators/data_layout/slice/slice_55x36x54_i32_perm0/test.json
@@ -5,25 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 46,
- 32,
- 12
- ],
- size: [
- 3,
- 1,
- 28
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 46,
+ 32,
+ 12
+ ],
+ size: [
+ 3,
+ 1,
+ 28
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 55,
+ 36,
+ 54
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3,
+ 1,
+ 28
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -31,32 +62,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 55,
- 36,
- 54
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 3,
- 1,
- 28
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_57_i16_perm0/test.json b/operators/data_layout/slice/slice_57_i16_perm0/test.json
index 016601645..eab756e43 100644
--- a/operators/data_layout/slice/slice_57_i16_perm0/test.json
+++ b/operators/data_layout/slice/slice_57_i16_perm0/test.json
@@ -5,21 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 4
- ],
- size: [
- 36
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 4
+ ],
+ size: [
+ 36
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 57
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 36
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,28 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 57
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 36
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_57_i16_perm1/test.json b/operators/data_layout/slice/slice_57_i16_perm1/test.json
index b83a09d20..9f766ab67 100644
--- a/operators/data_layout/slice/slice_57_i16_perm1/test.json
+++ b/operators/data_layout/slice/slice_57_i16_perm1/test.json
@@ -5,21 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 11
- ],
- size: [
- 4
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 11
+ ],
+ size: [
+ 4
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 57
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,28 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 57
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 4
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_InputSizeStartLengthMismatch_11x3_i16_perm0/test.json b/operators/data_layout/slice/slice_ERRORIF_InputSizeStartLengthMismatch_11x3_i16_perm0/test.json
index 2e60b0a8e..095dba991 100644
--- a/operators/data_layout/slice/slice_ERRORIF_InputSizeStartLengthMismatch_11x3_i16_perm0/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_InputSizeStartLengthMismatch_11x3_i16_perm0/test.json
@@ -5,21 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 0
- ],
- size: [
- 2
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 0
+ ],
+ size: [
+ 2
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,29 +55,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 3
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 2
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_SizeOutputShapeMismatch_10x15x7x2_i16_perm5/test.json b/operators/data_layout/slice/slice_ERRORIF_SizeOutputShapeMismatch_10x15x7x2_i16_perm5/test.json
index 02e86bbe9..aded2803e 100644
--- a/operators/data_layout/slice/slice_ERRORIF_SizeOutputShapeMismatch_10x15x7x2_i16_perm5/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_SizeOutputShapeMismatch_10x15x7x2_i16_perm5/test.json
@@ -5,27 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 3,
- 4,
- 3,
- 0
- ],
- size: [
- 3,
- 5,
- 2,
- 1
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 3,
+ 4,
+ 3,
+ 0
+ ],
+ size: [
+ 3,
+ 5,
+ 2,
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 15,
+ 7,
+ 2
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 7,
+ 3,
+ 2
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -33,34 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 15,
- 7,
- 2
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 7,
- 3,
- 2
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_11x4_b_perm2/test.json b/operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_11x4_b_perm2/test.json
index 05f4e108c..2e2eef5b8 100644
--- a/operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_11x4_b_perm2/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_SizeSmallerEqualZero_11x4_b_perm2/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 5,
- 1
- ],
- size: [
- -1,
- 0
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 5,
+ 1
+ ],
+ size: [
+ -1,
+ 0
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 4
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ -1,
+ 0
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 4
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- -1,
- 0
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_StartSizeOutsideBounds_10x7_i32_perm0/test.json b/operators/data_layout/slice/slice_ERRORIF_StartSizeOutsideBounds_10x7_i32_perm0/test.json
index dfd3c5c93..556ed00ac 100644
--- a/operators/data_layout/slice/slice_ERRORIF_StartSizeOutsideBounds_10x7_i32_perm0/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_StartSizeOutsideBounds_10x7_i32_perm0/test.json
@@ -5,23 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 9,
- 6
- ],
- size: [
- 2,
- 4
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 9,
+ 6
+ ],
+ size: [
+ 2,
+ 4
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 7
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 4
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -29,30 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 7
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 4
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_StartSmallerZero_12_i16_perm0/test.json b/operators/data_layout/slice/slice_ERRORIF_StartSmallerZero_12_i16_perm0/test.json
index 5b0371690..6a056626d 100644
--- a/operators/data_layout/slice/slice_ERRORIF_StartSmallerZero_12_i16_perm0/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_StartSmallerZero_12_i16_perm0/test.json
@@ -5,21 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- -1
- ],
- size: [
- 2
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ -1
+ ],
+ size: [
+ 2
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -27,28 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 2
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_WrongInputList_6x12_i8_perm5/test.json b/operators/data_layout/slice/slice_ERRORIF_WrongInputList_6x12_i8_perm5/test.json
index ac845233f..698091b9c 100644
--- a/operators/data_layout/slice/slice_ERRORIF_WrongInputList_6x12_i8_perm5/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_WrongInputList_6x12_i8_perm5/test.json
@@ -5,54 +5,59 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 2,
- 5
- ],
- size: [
- 3,
- 4
- ]
- },
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 2,
+ 5
+ ],
+ size: [
+ 3,
+ 4
+ ]
+ },
+ inputs: [
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 6,
+ 12
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3,
+ 4
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 6,
- 12
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 3,
- 4
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_WrongInputType_10x12x4x8_i48_perm3/test.json b/operators/data_layout/slice/slice_ERRORIF_WrongInputType_10x12x4x8_i48_perm3/test.json
index e3a046c68..e9167086b 100644
--- a/operators/data_layout/slice/slice_ERRORIF_WrongInputType_10x12x4x8_i48_perm3/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_WrongInputType_10x12x4x8_i48_perm3/test.json
@@ -5,27 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 4,
- 7,
- 0,
- 1
- ],
- size: [
- 1,
- 1,
- 2,
- 4
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 4,
+ 7,
+ 0,
+ 1
+ ],
+ size: [
+ 1,
+ 1,
+ 2,
+ 4
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 12,
+ 4,
+ 8
+ ],
+ type: "INT48"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 2,
+ 4
+ ],
+ type: "INT48"
+ }
+ ],
inputs: [
"input-0"
],
@@ -33,34 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 12,
- 4,
- 8
- ],
- type: "INT48"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 1,
- 2,
- 4
- ],
- type: "INT48"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_WrongOutputList_10_i16_perm2/test.json b/operators/data_layout/slice/slice_ERRORIF_WrongOutputList_10_i16_perm2/test.json
index b41d0dafd..5fb63b00f 100644
--- a/operators/data_layout/slice/slice_ERRORIF_WrongOutputList_10_i16_perm2/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_WrongOutputList_10_i16_perm2/test.json
@@ -5,51 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 3
- ],
- size: [
- 6
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 3
+ ],
+ size: [
+ 6
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0",
+ "eiDummyOutput"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 6
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
outputs: [
- "result-0",
- "eiDummyOutput"
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 6
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_WrongOutputType_10x13x4x13_i32_perm5/test.json b/operators/data_layout/slice/slice_ERRORIF_WrongOutputType_10x13x4x13_i32_perm5/test.json
index b227d625e..ad76f0438 100644
--- a/operators/data_layout/slice/slice_ERRORIF_WrongOutputType_10x13x4x13_i32_perm5/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_WrongOutputType_10x13x4x13_i32_perm5/test.json
@@ -5,27 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 2,
- 6,
- 2,
- 7
- ],
- size: [
- 2,
- 4,
- 1,
- 5
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 2,
+ 6,
+ 2,
+ 7
+ ],
+ size: [
+ 2,
+ 4,
+ 1,
+ 5
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 13,
+ 4,
+ 13
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 4,
+ 1,
+ 5
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -33,34 +66,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 13,
- 4,
- 13
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 4,
- 1,
- 5
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/data_layout/slice/slice_ERRORIF_WrongRank_1x2x7x10x7_i8_perm5/test.json b/operators/data_layout/slice/slice_ERRORIF_WrongRank_1x2x7x10x7_i8_perm5/test.json
index 5453df068..d7d846c03 100644
--- a/operators/data_layout/slice/slice_ERRORIF_WrongRank_1x2x7x10x7_i8_perm5/test.json
+++ b/operators/data_layout/slice/slice_ERRORIF_WrongRank_1x2x7x10x7_i8_perm5/test.json
@@ -5,29 +5,64 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SLICE",
- attribute_type: "SliceAttribute",
- attribute: {
- start: [
- 0,
- 0,
- 2,
- 5,
- 0
- ],
- size: [
- 1,
- 1,
- 3,
- 2,
- 4
- ]
- },
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 0,
+ 0,
+ 2,
+ 5,
+ 0
+ ],
+ size: [
+ 1,
+ 1,
+ 3,
+ 2,
+ 4
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 2,
+ 7,
+ 10,
+ 7
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 3,
+ 2,
+ 4
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -35,36 +70,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 2,
- 7,
- 10,
- 7
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 1,
- 3,
- 2,
- 4
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]