diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:36 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:36 +0100 |
commit | f722ca70e9692c51e8049644dc692b0bd17d3f9c (patch) | |
tree | e7671346fd803e56b89880bafda16c92f7e666b8 /operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32 | |
parent | 2dc099cf781cc8e0aeae5e0e34a707c66f1c8c98 (diff) | |
download | conformance_tests-f722ca70e9692c51e8049644dc692b0bd17d3f9c.tar.gz |
Updating INTDIV tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ia508fced628170293874a0a136701bfa63060a63
Diffstat (limited to 'operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32')
4 files changed, 100 insertions, 0 deletions
diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/desc.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/desc.json new file mode 100644 index 000000000..e91fa79e6 --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/desc.json @@ -0,0 +1,20 @@ +{ + "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" +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/input-0.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/input-0.json new file mode 100644 index 000000000..0fc55dd5a --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/input-0.json @@ -0,0 +1,18 @@ +{ + "type": "int32", + "data": [ + -1424024793, + 260837544, + -1144733175, + 1261312843, + 1566972097, + 1802299962, + 1977339560, + -963640876, + 1050386627, + -670388222, + 520849086, + 597704894, + 1130681569 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/input-1.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/input-1.json new file mode 100644 index 000000000..4f4ce937b --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + -791154136 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/test.json new file mode 100644 index 000000000..5d7dfa3d0 --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_13_i32/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |