aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/slice/slice_20_i8_perm0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/slice/slice_20_i8_perm0')
-rw-r--r--operators/data_layout/slice/slice_20_i8_perm0/Conformance-result-0.json8
-rw-r--r--operators/data_layout/slice/slice_20_i8_perm0/desc.json20
-rw-r--r--operators/data_layout/slice/slice_20_i8_perm0/input-0.json25
-rw-r--r--operators/data_layout/slice/slice_20_i8_perm0/test.json55
4 files changed, 108 insertions, 0 deletions
diff --git a/operators/data_layout/slice/slice_20_i8_perm0/Conformance-result-0.json b/operators/data_layout/slice/slice_20_i8_perm0/Conformance-result-0.json
new file mode 100644
index 000000000..4a8b14a92
--- /dev/null
+++ b/operators/data_layout/slice/slice_20_i8_perm0/Conformance-result-0.json
@@ -0,0 +1,8 @@
+{
+ "type": "int32",
+ "data": [
+ 75,
+ -51,
+ 26
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/slice/slice_20_i8_perm0/desc.json b/operators/data_layout/slice/slice_20_i8_perm0/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/data_layout/slice/slice_20_i8_perm0/desc.json
@@ -0,0 +1,20 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0"
+ ],
+ "ifm_file": [
+ "input-0.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/slice/slice_20_i8_perm0/input-0.json b/operators/data_layout/slice/slice_20_i8_perm0/input-0.json
new file mode 100644
index 000000000..7f8a29e90
--- /dev/null
+++ b/operators/data_layout/slice/slice_20_i8_perm0/input-0.json
@@ -0,0 +1,25 @@
+{
+ "type": "int32",
+ "data": [
+ -99,
+ -16,
+ 43,
+ 39,
+ -8,
+ 90,
+ 16,
+ -108,
+ 67,
+ 19,
+ 34,
+ 16,
+ 13,
+ -105,
+ 15,
+ 75,
+ -51,
+ 26,
+ -121,
+ -40
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/slice/slice_20_i8_perm0/test.json b/operators/data_layout/slice/slice_20_i8_perm0/test.json
new file mode 100644
index 000000000..0a32991fc
--- /dev/null
+++ b/operators/data_layout/slice/slice_20_i8_perm0/test.json
@@ -0,0 +1,55 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ 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"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}