diff options
author | James Ward <james.ward@arm.com> | 2023-02-02 16:34:37 +0000 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2023-02-03 13:27:24 +0000 |
commit | b00b1a1db3067c916671ce76840fd06b551b712b (patch) | |
tree | 24c8534002e0e99fdbcb5a120fd07a9854c3b1a5 /operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16 | |
parent | de1c2ce9e0710f39464069d880fac7bb9ec24d1a (diff) | |
download | conformance_tests-b00b1a1db3067c916671ce76840fd06b551b712b.tar.gz |
Create/Regen MI Tests for CLAMP/PAD
* CLAMP framework tests excluded
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: Iba60d7e689b2ba2ced13924c3e141fb5aa9908a7
Diffstat (limited to 'operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16')
3 files changed, 105 insertions, 0 deletions
diff --git a/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/desc.json b/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/desc.json new file mode 100644 index 000000000..671c6cfc2 --- /dev/null +++ b/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/desc.json @@ -0,0 +1,21 @@ +{ + "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 output list does not match expected output", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/input-0.json b/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/input-0.json new file mode 100644 index 000000000..e8276294d --- /dev/null +++ b/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/input-0.json @@ -0,0 +1,16 @@ +{ + "type": "float32", + "data": [ + 0.484375, + 0.5625, + 0.828125, + 0.474609375, + 0.287109375, + 0.77734375, + 0.1591796875, + 0.921875, + 0.94140625, + 0.34375, + 0.76953125 + ] +}
\ No newline at end of file diff --git a/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/test.json b/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/test.json new file mode 100644 index 000000000..4fc5a6c04 --- /dev/null +++ b/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_11_bf16/test.json @@ -0,0 +1,68 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "CLAMP", + attribute_type: "ClampAttribute", + attribute: { + min_int: 0, + max_int: 0, + min_fp: [ + 0, + 0, + 107, + 63 + ], + max_fp: [ + 0, + 0, + 108, + 63 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "BF16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |