diff options
Diffstat (limited to 'operators/type_conversion/cast/cast_47_i32_outBOOL')
4 files changed, 171 insertions, 0 deletions
diff --git a/operators/type_conversion/cast/cast_47_i32_outBOOL/Conformance-result-0.json b/operators/type_conversion/cast/cast_47_i32_outBOOL/Conformance-result-0.json new file mode 100644 index 000000000..534940392 --- /dev/null +++ b/operators/type_conversion/cast/cast_47_i32_outBOOL/Conformance-result-0.json @@ -0,0 +1,52 @@ +{ + "type": "bool", + "data": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_47_i32_outBOOL/desc.json b/operators/type_conversion/cast/cast_47_i32_outBOOL/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/type_conversion/cast/cast_47_i32_outBOOL/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_outBOOL/input-0.json b/operators/type_conversion/cast/cast_47_i32_outBOOL/input-0.json new file mode 100644 index 000000000..0d75e749c --- /dev/null +++ b/operators/type_conversion/cast/cast_47_i32_outBOOL/input-0.json @@ -0,0 +1,52 @@ +{ + "type": "int32", + "data": [ + 989112014, + 974934444, + 1884465189, + 1153832191, + -770175930, + -1684739809, + 492387198, + 1786757269, + 2040776557, + -1158722087, + -1131915268, + -1986797943, + -1540767343, + 235589562, + 201018577, + -554384570, + -816235173, + 1416436161, + -171652955, + 1323929991, + 1989479829, + -785382476, + -1276729222, + 1945188090, + 579095115, + -898001048, + 523384669, + 64669877, + 1741747491, + -1048121956, + 2110473059, + 1872792872, + -1371374483, + -1440498455, + 142407512, + -1954594007, + -864156183, + -278756005, + 2015943014, + 2114736944, + -1496624548, + 1682241049, + -1756947319, + 1067763313, + 1484524120, + 1678440967, + -1187910882 + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_47_i32_outBOOL/test.json b/operators/type_conversion/cast/cast_47_i32_outBOOL/test.json new file mode 100644 index 000000000..35f0cfbe4 --- /dev/null +++ b/operators/type_conversion/cast/cast_47_i32_outBOOL/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: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |