diff options
Diffstat (limited to 'operators/type_conversion/cast/cast_53_i16_outi32')
4 files changed, 187 insertions, 0 deletions
diff --git a/operators/type_conversion/cast/cast_53_i16_outi32/Conformance-result-0.json b/operators/type_conversion/cast/cast_53_i16_outi32/Conformance-result-0.json new file mode 100644 index 000000000..faaaedf31 --- /dev/null +++ b/operators/type_conversion/cast/cast_53_i16_outi32/Conformance-result-0.json @@ -0,0 +1,58 @@ +{ + "type": "int32", + "data": [ + -15654, + 14214, + 18940, + -3319, + 15526, + -14927, + -27575, + -26451, + -3472, + 26384, + -24408, + -2899, + 13371, + -19506, + 14523, + -12717, + 20228, + 5191, + 3074, + -21184, + -2412, + 23371, + -31489, + 16942, + -475, + 14382, + 10701, + -4451, + -12540, + 8343, + -23579, + 5511, + -26563, + 9820, + 8437, + -27234, + 16874, + -5518, + 18801, + -30041, + -21008, + -394, + -20433, + -11151, + 10525, + -23297, + 11645, + -25992, + -21288, + 5743, + 19233, + -21589, + -13108 + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_53_i16_outi32/desc.json b/operators/type_conversion/cast/cast_53_i16_outi32/desc.json new file mode 100644 index 000000000..7b8f68902 --- /dev/null +++ b/operators/type_conversion/cast/cast_53_i16_outi32/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_53_i16_outi32/input-0.json b/operators/type_conversion/cast/cast_53_i16_outi32/input-0.json new file mode 100644 index 000000000..faaaedf31 --- /dev/null +++ b/operators/type_conversion/cast/cast_53_i16_outi32/input-0.json @@ -0,0 +1,58 @@ +{ + "type": "int32", + "data": [ + -15654, + 14214, + 18940, + -3319, + 15526, + -14927, + -27575, + -26451, + -3472, + 26384, + -24408, + -2899, + 13371, + -19506, + 14523, + -12717, + 20228, + 5191, + 3074, + -21184, + -2412, + 23371, + -31489, + 16942, + -475, + 14382, + 10701, + -4451, + -12540, + 8343, + -23579, + 5511, + -26563, + 9820, + 8437, + -27234, + 16874, + -5518, + 18801, + -30041, + -21008, + -394, + -20433, + -11151, + 10525, + -23297, + 11645, + -25992, + -21288, + 5743, + 19233, + -21589, + -13108 + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_53_i16_outi32/test.json b/operators/type_conversion/cast/cast_53_i16_outi32/test.json new file mode 100644 index 000000000..e06b07ede --- /dev/null +++ b/operators/type_conversion/cast/cast_53_i16_outi32/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: [ + 53 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 53 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |