diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:39:55 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:46:02 +0000 |
commit | 874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch) | |
tree | 4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12 | |
parent | 7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff) | |
download | conformance_tests-874bb4fe493b2958a21e9a84c22828e82d4ff167.tar.gz |
Updating conformance files for BF16 support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d
Diffstat (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12')
3 files changed, 700 insertions, 0 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/desc.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/desc.json new file mode 100644 index 000000000..c2dcd4899 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/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": "Parameters do not yield exact integer output dimensions", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/input-0.json new file mode 100644 index 000000000..f4d675afa --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/input-0.json @@ -0,0 +1,491 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 122, + 105, + -63, + 9 + ], + [ + 9, + -61, + -68, + -17 + ], + [ + 25, + 77, + 87, + -123 + ], + [ + 40, + 29, + -117, + 85 + ], + [ + 24, + 56, + 41, + -43 + ], + [ + -77, + -32, + 67, + 35 + ], + [ + 32, + -95, + -126, + 42 + ] + ], + [ + [ + 115, + -37, + -14, + 117 + ], + [ + -69, + 5, + -106, + -61 + ], + [ + -33, + 47, + -50, + -11 + ], + [ + -52, + -92, + 75, + 44 + ], + [ + 37, + 21, + -94, + 3 + ], + [ + 53, + -2, + 57, + -44 + ], + [ + 3, + -31, + 126, + -83 + ] + ], + [ + [ + -56, + 46, + -114, + 3 + ], + [ + -121, + 7, + -46, + -80 + ], + [ + -1, + -44, + -108, + 8 + ], + [ + 16, + 41, + 102, + 51 + ], + [ + 75, + 37, + 44, + 75 + ], + [ + 41, + 0, + 58, + 119 + ], + [ + -2, + -71, + -26, + -125 + ] + ], + [ + [ + -50, + 99, + -103, + 99 + ], + [ + 15, + -47, + -8, + 96 + ], + [ + -98, + 16, + -60, + 10 + ], + [ + 73, + 107, + -63, + 41 + ], + [ + -20, + 0, + -87, + 91 + ], + [ + -85, + -118, + 65, + -25 + ], + [ + -111, + 46, + -56, + 121 + ] + ], + [ + [ + 123, + 12, + -7, + -15 + ], + [ + 27, + 104, + 36, + -103 + ], + [ + -78, + 33, + -34, + -6 + ], + [ + -26, + 24, + -69, + -110 + ], + [ + -69, + 43, + 27, + 79 + ], + [ + -101, + -92, + -95, + 16 + ], + [ + 18, + -88, + -13, + -115 + ] + ], + [ + [ + 28, + 17, + -122, + -106 + ], + [ + 52, + 102, + 89, + 17 + ], + [ + 6, + 78, + 87, + 104 + ], + [ + -26, + -7, + -108, + -84 + ], + [ + -32, + 79, + -14, + 22 + ], + [ + 93, + -7, + -43, + 58 + ], + [ + -48, + -29, + 99, + -17 + ] + ], + [ + [ + -64, + 85, + 36, + 68 + ], + [ + -45, + 72, + 115, + -87 + ], + [ + -80, + 16, + 57, + -128 + ], + [ + 12, + -96, + 122, + 57 + ], + [ + 126, + -73, + 75, + -31 + ], + [ + -102, + -6, + -8, + 0 + ], + [ + 90, + -57, + 35, + -77 + ] + ], + [ + [ + 97, + -11, + 76, + -60 + ], + [ + -48, + 123, + -79, + 15 + ], + [ + -46, + -29, + 50, + 72 + ], + [ + -5, + 35, + -117, + -69 + ], + [ + 62, + 42, + -117, + 100 + ], + [ + -24, + -51, + -10, + -27 + ], + [ + 0, + -86, + -93, + 125 + ] + ], + [ + [ + 63, + -36, + 89, + 75 + ], + [ + 50, + 56, + 115, + 85 + ], + [ + -63, + 58, + -87, + 0 + ], + [ + -111, + -85, + 56, + -33 + ], + [ + -87, + 122, + 112, + -70 + ], + [ + 25, + -53, + 77, + 48 + ], + [ + -17, + 110, + 60, + -90 + ] + ], + [ + [ + -15, + 84, + 9, + -103 + ], + [ + 70, + -5, + -68, + 80 + ], + [ + 98, + 22, + 55, + -67 + ], + [ + 63, + 103, + -68, + 113 + ], + [ + -105, + -14, + -110, + -14 + ], + [ + 37, + 94, + -90, + 99 + ], + [ + 127, + -111, + 118, + 104 + ] + ], + [ + [ + -121, + -112, + 57, + -21 + ], + [ + -62, + -25, + -41, + 121 + ], + [ + -67, + -106, + 84, + 86 + ], + [ + 100, + 120, + -118, + 68 + ], + [ + -59, + -21, + -14, + 124 + ], + [ + 5, + -71, + -106, + 22 + ], + [ + 84, + 53, + 111, + -118 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json new file mode 100644 index 000000000..00d2dbefd --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json @@ -0,0 +1,187 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 0, + 1 + ], + stride: [ + 2, + 2 + ], + dilation: [ + 1, + 2 + ], + input_zp: -64, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 7, + 4 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 12, + 1, + 1, + 4 + ], + type: "INT4", + data: [ + 47, + 213, + 195, + 65, + 245, + 96, + 225, + 61, + 19, + 187, + 156, + 240, + 126, + 92, + 43, + 85, + 193, + 254, + 229, + 117, + 122, + 33, + 237, + 177 + ] + }, + { + name: "const-2", + shape: [ + 12 + ], + type: "INT32", + data: [ + 62, + 197, + 206, + 55, + 57, + 185, + 184, + 42, + 172, + 141, + 45, + 130, + 64, + 67, + 243, + 181, + 14, + 41, + 121, + 3, + 10, + 12, + 254, + 61, + 123, + 248, + 174, + 202, + 183, + 184, + 2, + 99, + 55, + 240, + 180, + 8, + 10, + 10, + 251, + 9, + 96, + 157, + 30, + 156, + 111, + 135, + 212, + 32 + ] + }, + { + name: "result-0", + shape: [ + 1, + 6, + 4, + 12 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |