From 874bb4fe493b2958a21e9a84c22828e82d4ff167 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Wed, 16 Nov 2022 14:39:55 +0000 Subject: Updating conformance files for BF16 support Signed-off-by: Jeremy Johnson Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d --- .../desc.json | 22 ++++++++++ .../input-0.json | 15 +++++++ .../test.json | 47 ++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/desc.json create mode 100644 operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/input-0.json create mode 100644 operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/test.json (limited to 'operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16') diff --git a/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/desc.json b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/desc.json new file mode 100644 index 000000000..992afc22b --- /dev/null +++ b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/desc.json @@ -0,0 +1,22 @@ +{ + "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": "Input data type not supported for this operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +} \ No newline at end of file diff --git a/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/input-0.json b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/input-0.json new file mode 100644 index 000000000..5315578fc --- /dev/null +++ b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/input-0.json @@ -0,0 +1,15 @@ +{ + "type": "int32", + "data": [ + 23270, + 4275, + -27578, + 17366, + 4889, + 8828, + 4284, + 3511, + -26833, + 3880 + ] +} \ No newline at end of file diff --git a/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/test.json b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/test.json new file mode 100644 index 000000000..60e539f62 --- /dev/null +++ b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10_i16/test.json @@ -0,0 +1,47 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "LOGICAL_NOT", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1