aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-11-16 14:39:55 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2022-11-16 14:46:02 +0000
commit874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch)
tree4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32
parent7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff)
downloadconformance_tests-874bb4fe493b2958a21e9a84c22828e82d4ff167.tar.gz
Updating conformance files for BF16 support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d
Diffstat (limited to 'operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32')
-rw-r--r--operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/desc.json24
-rw-r--r--operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/input-0.json125
-rw-r--r--operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/input-1.json17
-rw-r--r--operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/test.json60
4 files changed, 226 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/desc.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/desc.json
new file mode 100644
index 000000000..a4740efbc
--- /dev/null
+++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/desc.json
@@ -0,0 +1,24 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Op input list does not match expected input",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/input-0.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/input-0.json
new file mode 100644
index 000000000..c6116721e
--- /dev/null
+++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/input-0.json
@@ -0,0 +1,125 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 40540286,
+ 1332572588,
+ -384103346,
+ -1738050528,
+ 1095784940,
+ -265272312,
+ 1535164640,
+ 187809455,
+ -593439794,
+ 1239065771
+ ],
+ [
+ 1099441218,
+ -1476847821,
+ -1036450516,
+ 643900317,
+ 1842341236,
+ 1582582244,
+ -1441191520,
+ 1926848545,
+ -128978406,
+ 2076058464
+ ],
+ [
+ -1142290821,
+ 1834959910,
+ 255706015,
+ -653669275,
+ -674833733,
+ -1302427990,
+ 2115258165,
+ -334271938,
+ 636937127,
+ -1231314600
+ ],
+ [
+ -776921764,
+ 1838531478,
+ -1954606659,
+ -172682713,
+ 331992957,
+ -816689345,
+ 295608673,
+ 1804051340,
+ -620289440,
+ -864025246
+ ],
+ [
+ -1099677663,
+ -14069529,
+ 1653804680,
+ -177925068,
+ 737440834,
+ 1453671282,
+ -1617858098,
+ -65261300,
+ 2140137889,
+ -635215455
+ ],
+ [
+ -910464959,
+ -1613365990,
+ -1435416451,
+ 169437299,
+ 1159674225,
+ 711318146,
+ 231187392,
+ -1037011616,
+ 76943551,
+ 705293145
+ ],
+ [
+ -1181325652,
+ -163195569,
+ 382292580,
+ -1960213266,
+ 711232483,
+ -1958496156,
+ -276189206,
+ -1892459714,
+ -1015592451,
+ -363781026
+ ],
+ [
+ -1486825264,
+ 1374087158,
+ 1617132665,
+ -763290169,
+ 264290423,
+ 553623207,
+ -86097489,
+ 1481137009,
+ 1601946797,
+ 257166979
+ ],
+ [
+ 792919560,
+ 1819106724,
+ 1579255704,
+ -832013091,
+ 1865641242,
+ 38273670,
+ 1880610925,
+ 193346532,
+ 2052609346,
+ -1395296142
+ ],
+ [
+ 1200978497,
+ -2334522,
+ -1546792111,
+ 654995129,
+ 210233181,
+ -1719673975,
+ -1496931218,
+ 608552349,
+ 1993489493,
+ 108603572
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/input-1.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/input-1.json
new file mode 100644
index 000000000..5bec68666
--- /dev/null
+++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/input-1.json
@@ -0,0 +1,17 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 12,
+ 11,
+ 23,
+ 12,
+ 17,
+ 27,
+ 25,
+ 30,
+ 23,
+ 11
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/test.json
new file mode 100644
index 000000000..993434d30
--- /dev/null
+++ b/operators/ew_binary/logical_right_shift/logical_right_shift_ERRORIF_WrongInputList_10x10_i32/test.json
@@ -0,0 +1,60 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "LOGICAL_RIGHT_SHIFT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 10
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 10
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 10
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}