diff options
Diffstat (limited to 'operators/type_conversion/cast/cast_47_i32_outi8')
4 files changed, 175 insertions, 0 deletions
diff --git a/operators/type_conversion/cast/cast_47_i32_outi8/Conformance-result-0.json b/operators/type_conversion/cast/cast_47_i32_outi8/Conformance-result-0.json new file mode 100644 index 000000000..127722faa --- /dev/null +++ b/operators/type_conversion/cast/cast_47_i32_outi8/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_outi8/desc.json b/operators/type_conversion/cast/cast_47_i32_outi8/desc.json new file mode 100644 index 000000000..7b8f68902 --- /dev/null +++ b/operators/type_conversion/cast/cast_47_i32_outi8/desc.json @@ -0,0 +1,24 @@ +{ + "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" + ], + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_47_i32_outi8/input-0.json b/operators/type_conversion/cast/cast_47_i32_outi8/input-0.json new file mode 100644 index 000000000..127722faa --- /dev/null +++ b/operators/type_conversion/cast/cast_47_i32_outi8/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_outi8/test.json b/operators/type_conversion/cast/cast_47_i32_outi8/test.json new file mode 100644 index 000000000..a47f4d56e --- /dev/null +++ b/operators/type_conversion/cast/cast_47_i32_outi8/test.json @@ -0,0 +1,47 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + 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" + ] + } + ] +} |