From 4cc1201dde80193611cc8e14a7886aba96a3da09 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 12:50:21 +0100 Subject: Updating EW_BINARY tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Ia7139c9720b6e2bbaa6b2dcc4c7367aa07135f4e --- .../desc.json | 22 -- .../input-0.json | 413 --------------------- .../test.json | 310 ---------------- 3 files changed, 745 deletions(-) delete mode 100644 operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/desc.json delete mode 100644 operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/input-0.json delete mode 100644 operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/test.json (limited to 'operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8') diff --git a/operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/desc.json b/operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/desc.json deleted file mode 100644 index bf7c1974a..000000000 --- a/operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/desc.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "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": "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/table/table_ERRORIF_WrongInputList_12x32_i8/input-0.json b/operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/input-0.json deleted file mode 100644 index c9fdd671e..000000000 --- a/operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/input-0.json +++ /dev/null @@ -1,413 +0,0 @@ -{ - "type": "int32", - "data": [ - [ - -30, - -118, - 81, - 100, - 92, - -30, - -86, - 21, - 111, - -26, - 70, - -88, - -77, - -97, - 57, - -96, - -72, - -45, - 28, - -40, - 118, - -88, - 70, - -69, - -52, - -71, - -96, - 123, - -107, - 118, - 69, - 65 - ], - [ - -11, - -33, - -9, - -43, - -98, - 49, - -23, - -32, - -125, - 84, - -4, - 9, - -18, - 68, - -2, - -29, - -17, - 15, - -46, - 39, - 45, - 127, - 45, - 15, - -96, - -15, - -47, - -20, - 36, - 83, - 25, - -117 - ], - [ - -74, - 68, - 3, - -108, - 60, - -66, - -113, - -100, - 57, - -124, - -58, - 110, - 95, - -4, - -9, - -82, - 110, - -121, - -58, - -28, - 93, - -78, - -33, - 54, - 24, - -63, - 21, - 29, - 102, - 53, - 33, - 78 - ], - [ - -123, - 19, - -104, - 126, - 114, - 61, - -9, - 15, - -123, - -75, - 67, - -83, - 31, - -13, - -56, - 42, - -109, - 64, - -81, - -40, - -82, - -39, - -89, - 80, - 54, - 102, - -36, - -45, - -50, - 62, - -110, - 80 - ], - [ - -125, - -89, - -15, - -36, - 95, - 29, - -50, - 127, - -8, - 26, - 23, - -64, - -72, - -113, - -17, - 122, - 33, - -17, - 9, - -65, - 72, - -92, - -87, - -108, - 88, - -111, - -60, - -55, - 53, - 45, - -47, - 14 - ], - [ - -90, - -94, - 72, - 14, - 20, - -56, - -77, - 15, - 49, - -12, - 50, - 26, - 50, - 91, - 24, - 62, - -27, - 72, - 33, - 2, - 82, - 60, - -124, - -22, - 85, - -14, - 81, - 78, - -66, - 11, - 110, - 7 - ], - [ - 106, - 101, - -46, - -50, - 4, - -94, - 112, - 15, - -84, - -70, - -21, - -2, - -54, - -106, - 9, - -2, - 42, - 39, - 39, - 119, - -10, - 39, - -57, - -62, - 43, - 75, - -81, - -26, - -121, - -62, - 48, - 12 - ], - [ - 30, - 69, - 96, - 66, - 32, - 15, - 64, - -127, - -53, - -66, - 28, - -83, - 57, - 60, - -44, - 122, - 24, - -31, - -84, - 75, - -41, - 17, - 8, - 30, - -85, - 62, - -17, - 64, - 29, - -78, - 57, - 28 - ], - [ - 68, - 33, - -14, - -23, - -23, - -49, - -124, - -60, - -72, - 117, - 119, - 43, - -109, - -82, - 69, - -117, - 38, - -27, - -68, - -23, - 72, - 21, - 41, - 84, - 115, - -47, - -27, - 35, - 85, - -54, - -113, - 86 - ], - [ - 70, - -123, - -2, - -37, - -112, - 10, - -6, - 77, - 29, - -34, - 17, - 56, - -40, - 78, - 2, - -52, - -118, - 56, - -119, - -67, - -12, - 125, - 106, - 67, - 58, - 68, - 111, - -70, - 101, - 94, - 105, - 66 - ], - [ - 104, - -120, - 27, - -83, - 0, - -100, - -35, - -2, - 35, - 23, - 80, - 82, - -12, - 93, - -6, - -85, - -12, - -46, - 38, - -12, - -6, - 81, - 118, - -67, - -86, - 95, - -92, - 89, - 82, - 103, - -23, - -20 - ], - [ - -23, - -52, - -20, - 112, - 97, - -26, - 4, - -24, - -113, - -3, - -95, - -115, - -15, - 109, - 123, - -73, - -121, - -17, - -66, - -51, - -36, - -10, - -9, - 48, - 70, - 88, - 50, - -30, - 7, - 127, - -54, - -94 - ] - ] -} \ No newline at end of file diff --git a/operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/test.json b/operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/test.json deleted file mode 100644 index 115f8dae1..000000000 --- a/operators/ew_binary/table/table_ERRORIF_WrongInputList_12x32_i8/test.json +++ /dev/null @@ -1,310 +0,0 @@ -{ - version: { - _major: 0, - _minor: 41, - _patch: 0, - _draft: true - }, - blocks: [ - { - name: "main", - operators: [ - { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -45, - -1, - -29, - -1, - -6, - -1, - 54, - 0, - 18, - 0, - 9, - 0, - 86, - 0, - -2, - -1, - 68, - 0, - 105, - 0, - 45, - 0, - -119, - -1, - -61, - -1, - 30, - 0, - -6, - -1, - -56, - -1, - -43, - -1, - -108, - -1, - -68, - -1, - 72, - 0, - -126, - -1, - 86, - 0, - -42, - -1, - 78, - 0, - -63, - -1, - 84, - 0, - 18, - 0, - 89, - 0, - -113, - -1, - 76, - 0, - -59, - -1, - -37, - -1, - -117, - -1, - 116, - 0, - 36, - 0, - 123, - 0, - 17, - 0, - -88, - -1, - -42, - -1, - -16, - -1, - -91, - -1, - 110, - 0, - 117, - 0, - 16, - 0, - 21, - 0, - 52, - 0, - 45, - 0, - -112, - -1, - 8, - 0, - 70, - 0, - 78, - 0, - 24, - 0, - 101, - 0, - 22, - 0, - -31, - -1, - -15, - -1, - 48, - 0, - 98, - 0, - -70, - -1, - -53, - -1, - 38, - 0, - 67, - 0, - -26, - -1, - 36, - 0, - -127, - -1, - -54, - -1, - 116, - 0, - 19, - 0, - 94, - 0, - -73, - -1, - -54, - -1, - 121, - 0, - 127, - 0, - 96, - 0, - -47, - -1, - 77, - 0, - -11, - -1, - 88, - 0, - 89, - 0, - -17, - -1, - -51, - -1, - 121, - 0, - -13, - -1, - -18, - -1, - 42, - 0, - 111, - 0, - -95, - -1, - 124, - 0, - -20, - -1, - -122, - -1, - -49, - -1, - -10, - -1, - 45, - 0, - 16, - 0, - -94, - -1, - -4, - -1, - -69, - -1, - -59, - -1, - 54, - 0, - 77, - 0, - -89, - -1, - 26, - 0, - -20, - -1, - -42, - -1, - 54, - 0, - -65, - -1, - 67, - 0, - -26, - -1, - -104, - -1, - 74, - 0, - 90, - 0, - 16, - 0, - 57, - 0, - -91, - -1, - -42, - -1, - -39, - -1, - 67, - 0, - -38, - -1, - 58, - 0, - -50, - -1, - 25, - 0, - -75, - -1, - 14, - 0, - -108, - -1, - 60, - 0, - -121, - -1, - 127, - 0, - 86, - 0 - ] - }, - inputs: [ - "input-0", - "eiDummyInput" - ], - outputs: [ - "result-0" - ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 32 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12, - 32 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" - ] - } - ] -} -- cgit v1.2.1