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 | 24 ---------- .../input-0.json | 29 ----------- .../input-1.json | 6 --- .../test.json | 56 ---------------------- 4 files changed, 115 deletions(-) delete mode 100644 operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/desc.json delete mode 100644 operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/input-0.json delete mode 100644 operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/input-1.json delete mode 100644 operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/test.json (limited to 'operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4') diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/desc.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/desc.json deleted file mode 100644 index 33c84b150..000000000 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/desc.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "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": "Input data type not supported for this operator", - "profile": [ - "tosa-bi", - "tosa-mi" - ] -} \ No newline at end of file diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/input-0.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/input-0.json deleted file mode 100644 index ea7e30f15..000000000 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/input-0.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "type": "int32", - "data": [ - 6, - -2, - 3, - -3, - -3, - -4, - 1, - 3, - -7, - 2, - 5, - 0, - -3, - -4, - 5, - 2, - 5, - 0, - -1, - -3, - 5, - 4, - 0, - 5 - ] -} \ No newline at end of file diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/input-1.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/input-1.json deleted file mode 100644 index 2076bd515..000000000 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/input-1.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "type": "int32", - "data": [ - -6 - ] -} \ No newline at end of file diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/test.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/test.json deleted file mode 100644 index b807da83e..000000000 --- a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongInputType_24_i4/test.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - version: { - _major: 0, - _minor: 41, - _patch: 0, - _draft: true - }, - blocks: [ - { - name: "main", - operators: [ - { - op: "BITWISE_AND", - attribute_type: "NONE", - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" - ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 24 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" - ] - } - ] -} -- cgit v1.2.1