diff options
Diffstat (limited to 'operators/type_conversion/cast/cast_37_b_outINT32')
4 files changed, 151 insertions, 0 deletions
diff --git a/operators/type_conversion/cast/cast_37_b_outINT32/Conformance-result-0.json b/operators/type_conversion/cast/cast_37_b_outINT32/Conformance-result-0.json new file mode 100644 index 000000000..f5268750d --- /dev/null +++ b/operators/type_conversion/cast/cast_37_b_outINT32/Conformance-result-0.json @@ -0,0 +1,42 @@ +{ + "type": "int32", + "data": [ + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1 + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_37_b_outINT32/desc.json b/operators/type_conversion/cast/cast_37_b_outINT32/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/type_conversion/cast/cast_37_b_outINT32/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_37_b_outINT32/input-0.json b/operators/type_conversion/cast/cast_37_b_outINT32/input-0.json new file mode 100644 index 000000000..425acb98f --- /dev/null +++ b/operators/type_conversion/cast/cast_37_b_outINT32/input-0.json @@ -0,0 +1,42 @@ +{ + "type": "bool", + "data": [ + true, + false, + false, + true, + false, + false, + false, + true, + true, + false, + true, + true, + true, + true, + false, + true, + false, + true, + true, + true, + true, + true, + true, + true, + true, + false, + true, + true, + false, + true, + true, + true, + true, + false, + true, + false, + true + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_37_b_outINT32/test.json b/operators/type_conversion/cast/cast_37_b_outINT32/test.json new file mode 100644 index 000000000..149c95ba9 --- /dev/null +++ b/operators/type_conversion/cast/cast_37_b_outINT32/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: [ + 37 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 37 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |