diff options
Diffstat (limited to 'operators/data_layout/pad/pad_13x6_i8_pad0101')
4 files changed, 319 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0101/Conformance-result-0.json b/operators/data_layout/pad/pad_13x6_i8_pad0101/Conformance-result-0.json new file mode 100644 index 000000000..67b47c7e4 --- /dev/null +++ b/operators/data_layout/pad/pad_13x6_i8_pad0101/Conformance-result-0.json @@ -0,0 +1,131 @@ +{ + "type": "int32", + "data": [ + [ + 14, + -16, + 60, + -30, + -96, + 58, + 6 + ], + [ + -83, + 13, + 114, + 111, + -36, + 71, + 6 + ], + [ + 28, + -6, + -93, + -32, + 38, + 124, + 6 + ], + [ + -127, + 55, + 88, + 115, + -20, + -98, + 6 + ], + [ + -59, + 89, + 96, + 35, + -97, + -97, + 6 + ], + [ + -6, + 22, + -120, + 47, + 11, + -125, + 6 + ], + [ + -104, + -12, + 56, + 83, + -18, + -53, + 6 + ], + [ + 119, + -11, + -48, + -15, + -125, + -51, + 6 + ], + [ + 3, + 107, + 60, + 72, + 11, + -100, + 6 + ], + [ + -28, + 127, + -117, + 97, + 47, + -56, + 6 + ], + [ + 71, + 86, + -117, + -101, + 42, + 127, + 6 + ], + [ + -122, + 42, + -94, + 38, + 31, + -105, + 6 + ], + [ + 46, + 101, + 93, + -121, + -66, + -67, + 6 + ], + [ + 6, + 6, + 6, + 6, + 6, + 6, + 6 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0101/desc.json b/operators/data_layout/pad/pad_13x6_i8_pad0101/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/data_layout/pad/pad_13x6_i8_pad0101/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/pad/pad_13x6_i8_pad0101/input-0.json b/operators/data_layout/pad/pad_13x6_i8_pad0101/input-0.json new file mode 100644 index 000000000..ec077f87c --- /dev/null +++ b/operators/data_layout/pad/pad_13x6_i8_pad0101/input-0.json @@ -0,0 +1,109 @@ +{ + "type": "int32", + "data": [ + [ + 14, + -16, + 60, + -30, + -96, + 58 + ], + [ + -83, + 13, + 114, + 111, + -36, + 71 + ], + [ + 28, + -6, + -93, + -32, + 38, + 124 + ], + [ + -127, + 55, + 88, + 115, + -20, + -98 + ], + [ + -59, + 89, + 96, + 35, + -97, + -97 + ], + [ + -6, + 22, + -120, + 47, + 11, + -125 + ], + [ + -104, + -12, + 56, + 83, + -18, + -53 + ], + [ + 119, + -11, + -48, + -15, + -125, + -51 + ], + [ + 3, + 107, + 60, + 72, + 11, + -100 + ], + [ + -28, + 127, + -117, + 97, + 47, + -56 + ], + [ + 71, + 86, + -117, + -101, + 42, + 127 + ], + [ + -122, + 42, + -94, + 38, + 31, + -105 + ], + [ + 46, + 101, + 93, + -121, + -66, + -67 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0101/test.json b/operators/data_layout/pad/pad_13x6_i8_pad0101/test.json new file mode 100644 index 000000000..57c8bacbc --- /dev/null +++ b/operators/data_layout/pad/pad_13x6_i8_pad0101/test.json @@ -0,0 +1,59 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "PAD", + attribute_type: "PadAttribute", + attribute: { + padding: [ + 0, + 1, + 0, + 1 + ], + pad_const_int: 6, + pad_const_fp: 0.0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 6 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 14, + 7 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |