diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:39:55 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:46:02 +0000 |
commit | 874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch) | |
tree | 4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8 | |
parent | 7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff) | |
download | conformance_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_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8')
4 files changed, 466 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/desc.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/desc.json new file mode 100644 index 000000000..e7d7ed273 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/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": "Output data type not supported for this configuration of operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/input-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/input-0.json new file mode 100644 index 000000000..35ed30bc1 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/input-0.json @@ -0,0 +1,245 @@ +{ + "type": "int32", + "data": [ + [ + [ + -75, + 29, + 4, + -128, + -100, + 31, + 100, + 38, + -3 + ], + [ + 127, + 98, + -32, + 83, + 103, + -80, + 31, + -114, + 14 + ] + ], + [ + [ + 106, + 102, + 15, + 22, + 90, + -127, + 48, + -48, + 69 + ], + [ + -99, + -5, + 66, + 59, + 61, + 107, + -36, + 53, + 79 + ] + ], + [ + [ + 110, + -72, + -67, + -17, + 77, + 97, + 7, + 57, + -113 + ], + [ + 64, + 37, + -44, + 32, + 114, + 125, + 36, + 38, + 39 + ] + ], + [ + [ + -95, + -40, + 125, + -112, + -48, + 102, + 50, + -28, + 25 + ], + [ + 66, + -38, + 109, + -24, + 97, + 39, + -117, + 95, + -99 + ] + ], + [ + [ + 114, + -125, + 125, + -8, + -99, + -75, + -80, + 9, + -76 + ], + [ + 75, + 121, + -52, + -104, + -115, + 50, + 65, + 117, + -93 + ] + ], + [ + [ + 19, + -78, + -126, + -19, + -112, + -88, + 53, + -74, + -27 + ], + [ + 116, + 1, + -93, + -117, + -25, + 101, + -119, + 103, + -7 + ] + ], + [ + [ + 26, + 11, + -7, + -49, + -28, + 58, + -78, + 75, + 112 + ], + [ + 0, + -3, + 78, + -101, + 71, + 74, + -41, + 120, + -1 + ] + ], + [ + [ + -56, + -63, + 47, + 108, + 127, + 102, + -99, + 56, + 80 + ], + [ + -72, + -1, + -115, + 43, + 25, + -82, + -83, + -73, + 33 + ] + ], + [ + [ + 14, + 4, + -64, + 74, + 24, + -50, + -106, + 91, + 72 + ], + [ + -51, + -58, + 120, + 60, + -92, + -87, + 8, + 76, + -115 + ] + ], + [ + [ + -125, + 27, + -85, + 14, + -42, + 88, + 71, + -93, + -120 + ], + [ + -19, + 61, + -4, + -68, + -117, + 127, + 99, + -55, + -3 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/input-1.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/input-1.json new file mode 100644 index 000000000..f93f817dc --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/input-1.json @@ -0,0 +1,135 @@ +{ + "type": "int32", + "data": [ + [ + [ + 4, + 12, + 21, + 20, + 8, + 11, + 17, + 16, + 24 + ] + ], + [ + [ + 15, + 25, + 8, + 7, + 30, + 6, + 26, + 8, + 3 + ] + ], + [ + [ + 12, + 3, + 23, + 31, + 17, + 31, + 28, + 30, + 22 + ] + ], + [ + [ + 10, + 19, + 8, + 16, + 24, + 13, + 15, + 11, + 2 + ] + ], + [ + [ + 5, + 5, + 8, + 2, + 28, + 25, + 26, + 17, + 0 + ] + ], + [ + [ + 5, + 7, + 23, + 25, + 21, + 18, + 11, + 2, + 7 + ] + ], + [ + [ + 25, + 19, + 24, + 29, + 9, + 19, + 23, + 24, + 28 + ] + ], + [ + [ + 29, + 20, + 27, + 23, + 9, + 1, + 29, + 18, + 17 + ] + ], + [ + [ + 24, + 4, + 14, + 23, + 12, + 22, + 18, + 11, + 21 + ] + ], + [ + [ + 14, + 26, + 1, + 26, + 24, + 22, + 8, + 31, + 20 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json new file mode 100644 index 000000000..c1725d2a6 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_ERRORIF_WrongOutputType_10x2x9_i8/test.json @@ -0,0 +1,62 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 10, + 1, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 2, + 9 + ], + type: "FP32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |