diff options
Diffstat (limited to 'operators/data_layout/reverse/reverse_3x22_i16_axis1')
4 files changed, 226 insertions, 0 deletions
diff --git a/operators/data_layout/reverse/reverse_3x22_i16_axis1/Conformance-result-0.json b/operators/data_layout/reverse/reverse_3x22_i16_axis1/Conformance-result-0.json new file mode 100644 index 000000000..689b89d1e --- /dev/null +++ b/operators/data_layout/reverse/reverse_3x22_i16_axis1/Conformance-result-0.json @@ -0,0 +1,77 @@ +{ + "type": "int32", + "data": [ + [ + -24955, + -24292, + -1693, + 27113, + -6290, + 12509, + 547, + -2513, + -23040, + -22419, + 28874, + -3757, + 9780, + -15893, + 13092, + 2460, + 5112, + -5350, + -13020, + 2704, + 29230, + -16497 + ], + [ + -11991, + 6656, + 5787, + 29435, + -18506, + 22289, + -5978, + -22712, + -5780, + 30897, + 8823, + -6503, + 7273, + 18715, + -4725, + 7516, + -12799, + -26647, + -14545, + 29350, + -23980, + 31025 + ], + [ + 18837, + -16628, + -12045, + 7644, + 9989, + 5711, + 9695, + 3082, + 13238, + 5879, + 4310, + -9774, + 4748, + -26527, + -17984, + -23074, + -1696, + -1490, + -5348, + -13195, + -30405, + 27555 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reverse/reverse_3x22_i16_axis1/desc.json b/operators/data_layout/reverse/reverse_3x22_i16_axis1/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/data_layout/reverse/reverse_3x22_i16_axis1/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/data_layout/reverse/reverse_3x22_i16_axis1/input-0.json b/operators/data_layout/reverse/reverse_3x22_i16_axis1/input-0.json new file mode 100644 index 000000000..c3b547e2b --- /dev/null +++ b/operators/data_layout/reverse/reverse_3x22_i16_axis1/input-0.json @@ -0,0 +1,77 @@ +{ + "type": "int32", + "data": [ + [ + -16497, + 29230, + 2704, + -13020, + -5350, + 5112, + 2460, + 13092, + -15893, + 9780, + -3757, + 28874, + -22419, + -23040, + -2513, + 547, + 12509, + -6290, + 27113, + -1693, + -24292, + -24955 + ], + [ + 31025, + -23980, + 29350, + -14545, + -26647, + -12799, + 7516, + -4725, + 18715, + 7273, + -6503, + 8823, + 30897, + -5780, + -22712, + -5978, + 22289, + -18506, + 29435, + 5787, + 6656, + -11991 + ], + [ + 27555, + -30405, + -13195, + -5348, + -1490, + -1696, + -23074, + -17984, + -26527, + 4748, + -9774, + 4310, + 5879, + 13238, + 3082, + 9695, + 5711, + 9989, + 7644, + -12045, + -16628, + 18837 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reverse/reverse_3x22_i16_axis1/test.json b/operators/data_layout/reverse/reverse_3x22_i16_axis1/test.json new file mode 100644 index 000000000..292e84515 --- /dev/null +++ b/operators/data_layout/reverse/reverse_3x22_i16_axis1/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REVERSE", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 3, + 22 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |