diff options
Diffstat (limited to 'operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0')
3 files changed, 94 insertions, 0 deletions
diff --git a/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/desc.json b/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/desc.json new file mode 100644 index 000000000..1d8d88d8f --- /dev/null +++ b/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/desc.json @@ -0,0 +1,22 @@ +{ + "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": 2, + "expected_failure": true, + "expected_failure_desc": "Input tensor size does not match output tensor size", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/input-0.json b/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/input-0.json new file mode 100644 index 000000000..8f31f9fbf --- /dev/null +++ b/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/input-0.json @@ -0,0 +1,15 @@ +{ + "type": "bool", + "data": [ + true, + false, + false, + true, + true, + false, + true, + false, + false, + false + ] +}
\ No newline at end of file diff --git a/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/test.json new file mode 100644 index 000000000..a71f78f5f --- /dev/null +++ b/operators/data_layout/transpose/transpose_ERRORIF_TensorSizeInputOutputMismatch_10_b_perm0/test.json @@ -0,0 +1,57 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 14 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |