aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:38 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:38 +0100
commit4f0cd453e02cf11dcb8b1dcb004cf4909cb2db1a (patch)
treec0615247657214838ae0e9e6e08cf59b45945421 /operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16
parente6f2dc9772476e7be0c139ea01b25688325397c3 (diff)
downloadconformance_tests-4f0cd453e02cf11dcb8b1dcb004cf4909cb2db1a.tar.gz
Updating LOGICAL_LEFT_SHIFT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I65a948370fd39f6af47c84317dd40fa4d3f4f5ce
Diffstat (limited to 'operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16')
-rw-r--r--operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/Conformance-result-0.json405
-rw-r--r--operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/desc.json22
-rw-r--r--operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/input-0.json405
-rw-r--r--operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/input-1.json317
-rw-r--r--operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json65
5 files changed, 1214 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/Conformance-result-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/Conformance-result-0.json
new file mode 100644
index 000000000..c74afb611
--- /dev/null
+++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/Conformance-result-0.json
@@ -0,0 +1,405 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 0,
+ 0
+ ],
+ [
+ 0,
+ 0
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ary/logical_left_shift/logical_left_shift_2x11x4x2_i16/desc.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/desc.json
@@ -0,0 +1,22 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0",
+ "input-1"
+ ],
+ "ifm_file": [
+ "input-0.npy",
+ "input-1.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/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/input-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/input-0.json
new file mode 100644
index 000000000..bc128d398
--- /dev/null
+++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/input-0.json
@@ -0,0 +1,405 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ -20498,
+ 22261
+ ],
+ [
+ 32021,
+ -23426
+ ],
+ [
+ 20860,
+ 20768
+ ],
+ [
+ 15834,
+ -8463
+ ]
+ ],
+ [
+ [
+ -2048,
+ 22230
+ ],
+ [
+ -22750,
+ 21544
+ ],
+ [
+ 27568,
+ 11918
+ ],
+ [
+ -10395,
+ 3876
+ ]
+ ],
+ [
+ [
+ -29485,
+ 28298
+ ],
+ [
+ -10329,
+ -29027
+ ],
+ [
+ 19297,
+ 10325
+ ],
+ [
+ 8041,
+ -29223
+ ]
+ ],
+ [
+ [
+ 16438,
+ 8999
+ ],
+ [
+ 19243,
+ 21451
+ ],
+ [
+ -18878,
+ -18964
+ ],
+ [
+ 27773,
+ 2033
+ ]
+ ],
+ [
+ [
+ -4064,
+ -13946
+ ],
+ [
+ 9110,
+ 16643
+ ],
+ [
+ -32617,
+ 3449
+ ],
+ [
+ 32333,
+ -14376
+ ]
+ ],
+ [
+ [
+ -14360,
+ 24781
+ ],
+ [
+ -28701,
+ -6717
+ ],
+ [
+ -2736,
+ 19521
+ ],
+ [
+ -24312,
+ -4322
+ ]
+ ],
+ [
+ [
+ -22786,
+ 18850
+ ],
+ [
+ 8669,
+ -214
+ ],
+ [
+ -7018,
+ -22730
+ ],
+ [
+ 27646,
+ 9677
+ ]
+ ],
+ [
+ [
+ -11852,
+ -5641
+ ],
+ [
+ 14822,
+ 14389
+ ],
+ [
+ -2550,
+ -12918
+ ],
+ [
+ 10482,
+ 10369
+ ]
+ ],
+ [
+ [
+ 6533,
+ -27994
+ ],
+ [
+ -1784,
+ 7465
+ ],
+ [
+ 29495,
+ 1675
+ ],
+ [
+ -10308,
+ 3656
+ ]
+ ],
+ [
+ [
+ -21153,
+ -26825
+ ],
+ [
+ 11671,
+ 31862
+ ],
+ [
+ 22675,
+ 5482
+ ],
+ [
+ -30130,
+ 31979
+ ]
+ ],
+ [
+ [
+ -3301,
+ -13785
+ ],
+ [
+ 25722,
+ 16148
+ ],
+ [
+ 16359,
+ -14566
+ ],
+ [
+ 32231,
+ -3089
+ ]
+ ]
+ ],
+ [
+ [
+ [
+ 2058,
+ 16446
+ ],
+ [
+ 10485,
+ -21477
+ ],
+ [
+ -12945,
+ -9098
+ ],
+ [
+ 29329,
+ 14057
+ ]
+ ],
+ [
+ [
+ -8760,
+ 15382
+ ],
+ [
+ 15631,
+ -6933
+ ],
+ [
+ -6348,
+ 25840
+ ],
+ [
+ 4051,
+ -22970
+ ]
+ ],
+ [
+ [
+ 14403,
+ 5869
+ ],
+ [
+ 585,
+ 14752
+ ],
+ [
+ 26678,
+ -11113
+ ],
+ [
+ -5289,
+ -20350
+ ]
+ ],
+ [
+ [
+ 9638,
+ -6376
+ ],
+ [
+ -10331,
+ 12879
+ ],
+ [
+ -6020,
+ -2336
+ ],
+ [
+ -3929,
+ -15825
+ ]
+ ],
+ [
+ [
+ -24524,
+ 21445
+ ],
+ [
+ -26757,
+ -11477
+ ],
+ [
+ 10976,
+ -24164
+ ],
+ [
+ 10192,
+ 15274
+ ]
+ ],
+ [
+ [
+ 10676,
+ -12778
+ ],
+ [
+ -31473,
+ 25385
+ ],
+ [
+ -11368,
+ 19988
+ ],
+ [
+ -19805,
+ -22125
+ ]
+ ],
+ [
+ [
+ 18228,
+ 28818
+ ],
+ [
+ 23634,
+ 16465
+ ],
+ [
+ -16602,
+ 27080
+ ],
+ [
+ 11000,
+ -21486
+ ]
+ ],
+ [
+ [
+ -24291,
+ 24324
+ ],
+ [
+ -14736,
+ 17425
+ ],
+ [
+ -23682,
+ -14383
+ ],
+ [
+ -14188,
+ -14346
+ ]
+ ],
+ [
+ [
+ 11451,
+ 27157
+ ],
+ [
+ 26891,
+ 15830
+ ],
+ [
+ -19496,
+ 30184
+ ],
+ [
+ 2757,
+ 3012
+ ]
+ ],
+ [
+ [
+ 13198,
+ 17635
+ ],
+ [
+ 29682,
+ 5398
+ ],
+ [
+ 7212,
+ 16090
+ ],
+ [
+ -16050,
+ -12602
+ ]
+ ],
+ [
+ [
+ 8223,
+ -28566
+ ],
+ [
+ -11765,
+ 14286
+ ],
+ [
+ 31203,
+ 1277
+ ],
+ [
+ -6575,
+ -3908
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/input-1.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/input-1.json
new file mode 100644
index 000000000..9658d8455
--- /dev/null
+++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/input-1.json
@@ -0,0 +1,317 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 21
+ ],
+ [
+ 17
+ ],
+ [
+ 0
+ ],
+ [
+ 17
+ ]
+ ],
+ [
+ [
+ 12
+ ],
+ [
+ 22
+ ],
+ [
+ 28
+ ],
+ [
+ 30
+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
+ [
+ 25
+ ],
+ [
+ 4
+ ]
+ ],
+ [
+ [
+ 26
+ ],
+ [
+ 7
+ ],
+ [
+ 4
+ ],
+ [
+ 22
+ ]
+ ],
+ [
+ [
+ 24
+ ],
+ [
+ 19
+ ],
+ [
+ 3
+ ],
+ [
+ 3
+ ]
+ ],
+ [
+ [
+ 12
+ ],
+ [
+ 14
+ ],
+ [
+ 31
+ ],
+ [
+ 9
+ ]
+ ],
+ [
+ [
+ 6
+ ],
+ [
+ 30
+ ],
+ [
+ 4
+ ],
+ [
+ 0
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json
new file mode 100644
index 000000000..b76f0190a
--- /dev/null
+++ b/operators/ew_binary/logical_left_shift/logical_left_shift_2x11x4x2_i16/test.json
@@ -0,0 +1,65 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "LOGICAL_LEFT_SHIFT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 2
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 2
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}