diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:01 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:01 +0100 |
commit | 71c1895595e51da557bd73366bf5f27a8f6b3ffb (patch) | |
tree | 9394ef1b77a130fd7e94fc06de4802f5a13a5b67 /operators/activation/clamp/clamp_23_i8 | |
parent | e2ac2482baa202af7fe759a6b58d9bdd75168b6a (diff) | |
download | conformance_tests-71c1895595e51da557bd73366bf5f27a8f6b3ffb.tar.gz |
Updating CLAMP tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ic560fc8052032300292922b52363cece6cfde553
Diffstat (limited to 'operators/activation/clamp/clamp_23_i8')
4 files changed, 129 insertions, 0 deletions
diff --git a/operators/activation/clamp/clamp_23_i8/Conformance-result-0.json b/operators/activation/clamp/clamp_23_i8/Conformance-result-0.json new file mode 100644 index 000000000..be3c091c1 --- /dev/null +++ b/operators/activation/clamp/clamp_23_i8/Conformance-result-0.json @@ -0,0 +1,28 @@ +{ + "type": "int32", + "data": [ + 66, + 51, + 51, + 51, + 51, + 66, + 66, + 51, + 51, + 66, + 51, + 51, + 51, + 51, + 51, + 51, + 66, + 51, + 66, + 66, + 51, + 51, + 51 + ] +}
\ No newline at end of file diff --git a/operators/activation/clamp/clamp_23_i8/desc.json b/operators/activation/clamp/clamp_23_i8/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/activation/clamp/clamp_23_i8/desc.json @@ -0,0 +1,20 @@ +{ + "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": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/activation/clamp/clamp_23_i8/input-0.json b/operators/activation/clamp/clamp_23_i8/input-0.json new file mode 100644 index 000000000..67d0c1aa9 --- /dev/null +++ b/operators/activation/clamp/clamp_23_i8/input-0.json @@ -0,0 +1,28 @@ +{ + "type": "int32", + "data": [ + 86, + -13, + 0, + -34, + -82, + 109, + 72, + 36, + -25, + 82, + 11, + -15, + -13, + -70, + -105, + 13, + 99, + -112, + 91, + 83, + -58, + 33, + -86 + ] +}
\ No newline at end of file diff --git a/operators/activation/clamp/clamp_23_i8/test.json b/operators/activation/clamp/clamp_23_i8/test.json new file mode 100644 index 000000000..e3443f6db --- /dev/null +++ b/operators/activation/clamp/clamp_23_i8/test.json @@ -0,0 +1,53 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CLAMP", + attribute_type: "ClampAttribute", + attribute: { + min_int: 51, + max_int: 66, + min_fp: 0.0, + max_fp: 0.0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 23 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |