aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:15 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:15 +0100
commitcf8989f6250721418177c5b78cdedb7b6c56f74d (patch)
tree032b16f5831f3cbf110cb4f056c9550ee7381eb9 /operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1
parentd2d22b3e074fa6be55ca3d568540e820e50f44be (diff)
downloadconformance_tests-cf8989f6250721418177c5b78cdedb7b6c56f74d.tar.gz
Updating DATA_LAYOUT tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I605e4528c4b31c393e4a8ee88de332ecbc2f1421
Diffstat (limited to 'operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1')
-rw-r--r--operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/desc.json22
-rw-r--r--operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/input-0.json213
-rw-r--r--operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/test.json55
3 files changed, 290 insertions, 0 deletions
diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/desc.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/desc.json
new file mode 100644
index 000000000..76b3fb028
--- /dev/null
+++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/desc.json
@@ -0,0 +1,22 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Index used multiple times",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/input-0.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/input-0.json
new file mode 100644
index 000000000..fdc0a4683
--- /dev/null
+++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/input-0.json
@@ -0,0 +1,213 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ -28411,
+ -16756,
+ 4150,
+ -10190,
+ 6995,
+ -13331,
+ 4160,
+ 8720,
+ -20020,
+ -29848,
+ -10615,
+ -30053,
+ -22317,
+ -13909
+ ],
+ [
+ -10606,
+ -14617,
+ -29264,
+ -21164,
+ 25069,
+ 14209,
+ -3650,
+ -31211,
+ -9305,
+ 27802,
+ 20290,
+ 16874,
+ -16482,
+ -6360
+ ],
+ [
+ -30897,
+ 23523,
+ -25358,
+ 7743,
+ -14284,
+ 4602,
+ 21445,
+ -12255,
+ -31665,
+ 10689,
+ 2104,
+ -23613,
+ -29594,
+ 1631
+ ],
+ [
+ 7427,
+ -25159,
+ 6498,
+ -3595,
+ -23776,
+ 7619,
+ 9542,
+ -22577,
+ 11372,
+ -18212,
+ 6370,
+ 20529,
+ 28651,
+ -16010
+ ],
+ [
+ -10567,
+ -26506,
+ 30748,
+ -11096,
+ 19803,
+ 28517,
+ -1594,
+ 12699,
+ -1820,
+ 4943,
+ -16412,
+ 22309,
+ -24705,
+ 10498
+ ],
+ [
+ 27524,
+ 20391,
+ 16954,
+ 10299,
+ 29211,
+ 23872,
+ -14749,
+ 8126,
+ -4675,
+ -15410,
+ 20850,
+ -30074,
+ -24360,
+ -25866
+ ],
+ [
+ -19530,
+ 815,
+ 28987,
+ 30917,
+ 26227,
+ 17004,
+ -2630,
+ 18051,
+ -15194,
+ 10733,
+ -32226,
+ 26442,
+ 30906,
+ 15431
+ ],
+ [
+ -21317,
+ -15836,
+ 15712,
+ -34,
+ 3119,
+ -6269,
+ 22003,
+ -21929,
+ -3817,
+ -18195,
+ 12573,
+ -14080,
+ -13144,
+ -21389
+ ],
+ [
+ 23827,
+ -18527,
+ 24160,
+ 27288,
+ 30413,
+ -10274,
+ 10151,
+ 21464,
+ -27636,
+ -28549,
+ -19207,
+ 31575,
+ -26877,
+ 17353
+ ],
+ [
+ 22209,
+ 26654,
+ 1882,
+ 1698,
+ 15884,
+ 8817,
+ 18783,
+ -9122,
+ 28414,
+ -4455,
+ -16505,
+ 16432,
+ 7923,
+ -29494
+ ],
+ [
+ -21866,
+ -30373,
+ 4978,
+ 24570,
+ -11627,
+ -25559,
+ 23022,
+ 14485,
+ 2961,
+ -19691,
+ 11282,
+ -8769,
+ -16706,
+ -13530
+ ],
+ [
+ -28740,
+ -634,
+ 16585,
+ 21408,
+ 14684,
+ 24611,
+ 30382,
+ -18217,
+ -4359,
+ -10640,
+ 12107,
+ 22080,
+ 25554,
+ -26894
+ ],
+ [
+ 973,
+ -25108,
+ -11150,
+ -1339,
+ 7858,
+ 19014,
+ 32410,
+ -10750,
+ 3897,
+ -28218,
+ -25458,
+ 30662,
+ 28729,
+ 28764
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/test.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/test.json
new file mode 100644
index 000000000..59aa4b039
--- /dev/null
+++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/test.json
@@ -0,0 +1,55 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "TRANSPOSE",
+ attribute_type: "TransposeAttribute",
+ attribute: {
+ perms: [
+ 0,
+ 0
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13,
+ 14
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13,
+ 13
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}