diff options
Diffstat (limited to 'operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined')
4 files changed, 131 insertions, 0 deletions
diff --git a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/Conformance-result-0.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/Conformance-result-0.json new file mode 100644 index 000000000..f01af1f2e --- /dev/null +++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/Conformance-result-0.json @@ -0,0 +1,24 @@ +{ + "type": "float32", + "data": [ + -1.3515625, + 0.640625, + 1.015625, + -1.84375, + 0.21484375, + 0.302734375, + -0.78515625, + 1.5, + -1.34375, + -0.54296875, + 1.390625, + -1.234375, + 1.28125, + -1.6796875, + -0.04296875, + -1.6953125, + 0.7109375, + 1.15625, + 1.3984375 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/desc.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/desc.json new file mode 100644 index 000000000..d418e4060 --- /dev/null +++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/desc.json @@ -0,0 +1,23 @@ +{ + "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-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/input-0.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/input-0.json new file mode 100644 index 000000000..eb37bfcde --- /dev/null +++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/input-0.json @@ -0,0 +1,26 @@ +{ + "type": "float32", + "data": [ + [ + -1.3515625, + 0.640625, + 1.015625, + -1.84375, + 0.21484375, + 0.302734375, + -0.78515625, + 1.5, + -1.34375, + -0.54296875, + 1.390625, + -1.234375, + 1.28125, + -1.6796875, + -0.04296875, + -1.6953125, + 0.7109375, + 1.15625, + 1.3984375 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/test.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/test.json new file mode 100644 index 000000000..ac96c9e60 --- /dev/null +++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1_outdefined/test.json @@ -0,0 +1,58 @@ +{ + version: { + _major: 0, + _minor: 70, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 19 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 19 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 19 + ], + type: "BF16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |