aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/cast/cast_47_i32_outINT8
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:08:52 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:08:52 +0100
commit0ea9b225e914a7ee00ebd0bc7c3861dc6230a900 (patch)
tree28627ef1d7ae4cf0fed98cd50b84e76bc056539f /operators/type_conversion/cast/cast_47_i32_outINT8
parent6ecf925ab6c61ccfdfee6e103db7fffe1b1304bc (diff)
downloadconformance_tests-0ea9b225e914a7ee00ebd0bc7c3861dc6230a900.tar.gz
Updating CAST tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I5d447b4fa19217a414ded2facc6000a6dc0b874f
Diffstat (limited to 'operators/type_conversion/cast/cast_47_i32_outINT8')
-rw-r--r--operators/type_conversion/cast/cast_47_i32_outINT8/Conformance-result-0.json52
-rw-r--r--operators/type_conversion/cast/cast_47_i32_outINT8/desc.json20
-rw-r--r--operators/type_conversion/cast/cast_47_i32_outINT8/input-0.json52
-rw-r--r--operators/type_conversion/cast/cast_47_i32_outINT8/test.json47
4 files changed, 171 insertions, 0 deletions
diff --git a/operators/type_conversion/cast/cast_47_i32_outINT8/Conformance-result-0.json b/operators/type_conversion/cast/cast_47_i32_outINT8/Conformance-result-0.json
new file mode 100644
index 000000000..127722faa
--- /dev/null
+++ b/operators/type_conversion/cast/cast_47_i32_outINT8/Conformance-result-0.json
@@ -0,0 +1,52 @@
+{
+ "type": "int32",
+ "data": [
+ 1689840450,
+ -1649349455,
+ 80996041,
+ -130801947,
+ -790578703,
+ -2052503979,
+ 1168284500,
+ -706162836,
+ 694329838,
+ -385602493,
+ -542635923,
+ 1659128332,
+ -1741752399,
+ 1016263814,
+ 1059953309,
+ -515432790,
+ -1020224316,
+ -2124689947,
+ 1876098196,
+ 1922991991,
+ -1112522910,
+ -2010426731,
+ -1620242343,
+ -1856959762,
+ 1422118098,
+ 1683246877,
+ -1489132522,
+ 1059737894,
+ -1377532128,
+ -570333014,
+ 426845839,
+ 944578370,
+ 1608731715,
+ -1955134236,
+ -1303803183,
+ -942708308,
+ -814653622,
+ 2139013367,
+ 1191444707,
+ -771302135,
+ 2026479069,
+ -2976476,
+ 3183370,
+ -284761282,
+ -1529448581,
+ 1865615609,
+ -2087627749
+ ]
+} \ No newline at end of file
diff --git a/operators/type_conversion/cast/cast_47_i32_outINT8/desc.json b/operators/type_conversion/cast/cast_47_i32_outINT8/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/type_conversion/cast/cast_47_i32_outINT8/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/type_conversion/cast/cast_47_i32_outINT8/input-0.json b/operators/type_conversion/cast/cast_47_i32_outINT8/input-0.json
new file mode 100644
index 000000000..127722faa
--- /dev/null
+++ b/operators/type_conversion/cast/cast_47_i32_outINT8/input-0.json
@@ -0,0 +1,52 @@
+{
+ "type": "int32",
+ "data": [
+ 1689840450,
+ -1649349455,
+ 80996041,
+ -130801947,
+ -790578703,
+ -2052503979,
+ 1168284500,
+ -706162836,
+ 694329838,
+ -385602493,
+ -542635923,
+ 1659128332,
+ -1741752399,
+ 1016263814,
+ 1059953309,
+ -515432790,
+ -1020224316,
+ -2124689947,
+ 1876098196,
+ 1922991991,
+ -1112522910,
+ -2010426731,
+ -1620242343,
+ -1856959762,
+ 1422118098,
+ 1683246877,
+ -1489132522,
+ 1059737894,
+ -1377532128,
+ -570333014,
+ 426845839,
+ 944578370,
+ 1608731715,
+ -1955134236,
+ -1303803183,
+ -942708308,
+ -814653622,
+ 2139013367,
+ 1191444707,
+ -771302135,
+ 2026479069,
+ -2976476,
+ 3183370,
+ -284761282,
+ -1529448581,
+ 1865615609,
+ -2087627749
+ ]
+} \ No newline at end of file
diff --git a/operators/type_conversion/cast/cast_47_i32_outINT8/test.json b/operators/type_conversion/cast/cast_47_i32_outINT8/test.json
new file mode 100644
index 000000000..e4c17bd54
--- /dev/null
+++ b/operators/type_conversion/cast/cast_47_i32_outINT8/test.json
@@ -0,0 +1,47 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "CAST",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 47
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 47
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}