diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-04-26 15:52:33 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-04-26 16:31:53 +0100 |
commit | 92ccc0a3f268836538098b1c204ded4b9905b728 (patch) | |
tree | d69e59370d02327d5fbce1ca700835208c2f4f89 /operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0 | |
parent | b97992f592a277a96defb8c14575a5c350f96944 (diff) | |
download | conformance_tests-92ccc0a3f268836538098b1c204ded4b9905b728.tar.gz |
Updating TENSOR tests for 8k level support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I4105e3c62b7d46e5c35d5f99f1903dfaa625bdec
Diffstat (limited to 'operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0')
4 files changed, 618 insertions, 0 deletions
diff --git a/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/Conformance-result-0.json b/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/Conformance-result-0.json new file mode 100644 index 000000000..6ae8857b9 --- /dev/null +++ b/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/Conformance-result-0.json @@ -0,0 +1,43 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 103, + 100, + 125, + 111, + 120, + 126 + ], + [ + 98, + 111, + 114, + 63, + -23, + -33 + ] + ], + [ + [ + 124, + 114, + 127, + 109, + 117, + 120 + ], + [ + 120, + 119, + 118, + 122, + 126, + 111 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/desc.json b/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/desc.json new file mode 100644 index 000000000..279cf7380 --- /dev/null +++ b/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/desc.json @@ -0,0 +1,27 @@ +{ + "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-bi", + "tosa-mi" + ], + "tag": [ + "8k_level" + ] +}
\ No newline at end of file diff --git a/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/input-0.json b/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/input-0.json new file mode 100644 index 000000000..bdccf92c2 --- /dev/null +++ b/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/input-0.json @@ -0,0 +1,471 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 103, + -63, + 125, + 111, + -82, + -86 + ], + [ + 8, + -117, + -52, + -17, + 120, + 126 + ], + [ + -90, + 100, + -105, + 63, + 88, + 100 + ], + [ + -71, + 100, + -99, + 4, + -8, + -48 + ], + [ + -123, + 69, + -43, + 41, + -23, + -33 + ], + [ + 98, + -104, + 60, + 63, + -31, + -61 + ], + [ + -127, + 111, + 114, + -67, + -120, + -97 + ] + ], + [ + [ + -111, + 84, + 100, + -89, + 63, + -83 + ], + [ + -34, + 25, + 56, + 95, + -117, + -78 + ], + [ + -57, + -49, + 127, + 71, + -46, + 120 + ], + [ + -1, + 0, + -17, + -92, + 111, + -125 + ], + [ + -84, + -70, + -57, + -95, + -124, + 45 + ], + [ + 120, + -97, + -53, + 1, + 109, + 49 + ], + [ + 68, + 20, + -22, + -77, + 93, + 77 + ] + ], + [ + [ + -122, + 55, + -107, + 61, + 83, + -95 + ], + [ + -17, + -97, + 17, + 109, + -108, + -27 + ], + [ + 121, + -51, + -95, + -3, + 2, + 41 + ], + [ + -48, + 116, + 5, + -55, + 117, + 108 + ], + [ + -1, + -122, + 24, + 14, + -91, + 34 + ], + [ + 87, + -101, + 57, + -93, + 63, + -21 + ], + [ + -127, + 119, + -86, + 24, + -82, + 110 + ] + ], + [ + [ + 61, + 77, + -18, + -9, + 34, + 72 + ], + [ + 88, + -124, + 41, + -101, + -55, + 84 + ], + [ + -64, + 75, + -10, + -69, + -43, + 7 + ], + [ + 67, + 27, + 110, + 94, + 64, + 26 + ], + [ + -54, + -23, + -98, + -33, + 109, + -19 + ], + [ + -99, + 38, + 118, + 94, + -58, + -12 + ], + [ + 7, + -65, + -60, + -68, + 126, + 62 + ] + ], + [ + [ + 87, + 81, + 117, + -102, + 97, + -111 + ], + [ + -7, + 24, + -37, + -91, + -79, + 83 + ], + [ + -47, + -49, + 108, + -92, + 106, + 107 + ], + [ + 25, + -86, + -89, + -56, + 19, + -89 + ], + [ + -12, + -99, + 10, + -123, + 53, + -114 + ], + [ + -79, + -84, + 84, + -115, + -19, + 23 + ], + [ + 4, + 46, + 77, + -28, + 84, + -47 + ] + ], + [ + [ + 124, + 1, + 60, + 96, + 74, + 89 + ], + [ + 9, + -117, + -2, + -82, + 99, + -68 + ], + [ + -70, + -65, + 36, + 18, + 114, + -22 + ], + [ + -56, + -116, + -127, + -33, + 109, + 6 + ], + [ + 100, + -102, + -105, + 85, + -101, + -115 + ], + [ + -25, + 108, + 48, + -103, + 86, + 87 + ], + [ + 76, + 103, + -67, + 122, + -46, + 77 + ] + ], + [ + [ + 20, + 71, + 32, + 36, + 29, + 71 + ], + [ + 61, + -94, + 83, + 9, + -46, + 3 + ], + [ + 119, + 91, + 85, + -10, + 72, + -30 + ], + [ + 47, + 35, + -65, + -60, + -113, + -93 + ], + [ + -17, + -6, + -86, + -22, + 26, + -69 + ], + [ + -42, + -34, + 1, + -35, + 60, + -45 + ], + [ + -17, + -31, + -82, + 47, + -68, + -52 + ] + ], + [ + [ + 74, + 114, + 43, + 106, + 90, + -5 + ], + [ + 69, + -44, + -11, + 9, + 117, + 89 + ], + [ + -3, + 39, + -77, + 77, + 13, + 8 + ], + [ + 68, + 34, + -110, + -55, + -83, + 60 + ], + [ + -120, + -77, + 24, + 49, + 0, + 92 + ], + [ + 107, + -95, + 115, + 29, + 34, + -104 + ], + [ + 31, + 57, + 20, + -107, + 5, + 111 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/test.json b/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/test.json new file mode 100644 index 000000000..83fb51996 --- /dev/null +++ b/operators/tensor/max_pool2d/max_pool2d_1x8x7x6_i8_st8192x4_kern8192x3_pad8191x8185x0x0/test.json @@ -0,0 +1,77 @@ +{ + version: { + _major: 0, + _minor: 70, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "MAX_POOL2D", + attribute_type: "PoolAttribute", + attribute: { + pad: [ + 8191, + 8185, + 0, + 0 + ], + kernel: [ + 8192, + 3 + ], + stride: [ + 8192, + 4 + ], + input_zp: 0, + output_zp: 0, + accum_dtype: "UNKNOWN" + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 8, + 7, + 6 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 2, + 6 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |