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/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11 | |
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/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11')
3 files changed, 561 insertions, 0 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/desc.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/desc.json new file mode 100644 index 000000000..7780bdd73 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/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": "Mismatch between output shape provided and expected output shape", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/input-0.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/input-0.json new file mode 100644 index 000000000..48e35d5d3 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/input-0.json @@ -0,0 +1,275 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 97, + -97, + 14, + 58, + 24, + 79, + 58, + -119, + -78, + 34, + -36 + ], + [ + -37, + 105, + -106, + 5, + -49, + -115, + -33, + -25, + -12, + -87, + 58 + ], + [ + -37, + 18, + 11, + 16, + 1, + -51, + -3, + 7, + -124, + 57, + -15 + ], + [ + -54, + -121, + -50, + -25, + 86, + 37, + -21, + -96, + -58, + 106, + -96 + ], + [ + 33, + 4, + -73, + 95, + -28, + 41, + -104, + 119, + -123, + -49, + 106 + ] + ], + [ + [ + 35, + 44, + -48, + 71, + 110, + 31, + -73, + 104, + -127, + 101, + -126 + ], + [ + -114, + -118, + -80, + 58, + -27, + -108, + -41, + 127, + 6, + 58, + -60 + ], + [ + 5, + 76, + 44, + -127, + 27, + 74, + -94, + -28, + 37, + -127, + 53 + ], + [ + 88, + 6, + -14, + -105, + 57, + 113, + 96, + 12, + -120, + -55, + -61 + ], + [ + -127, + -98, + 19, + -103, + -119, + 114, + 26, + 78, + -65, + -35, + 28 + ] + ], + [ + [ + 47, + -34, + 107, + 52, + -72, + -103, + -125, + 88, + 82, + -6, + 57 + ], + [ + 98, + -87, + 123, + -3, + -16, + -87, + 44, + 26, + -121, + 37, + -92 + ], + [ + -58, + 28, + 71, + -94, + -7, + -56, + 52, + 84, + 35, + 75, + -13 + ], + [ + 25, + -54, + 125, + -76, + 107, + 62, + 124, + 36, + -38, + -57, + -83 + ], + [ + 119, + -101, + 79, + 50, + -96, + 106, + -87, + -87, + 11, + -102, + -102 + ] + ], + [ + [ + 31, + 118, + -115, + 35, + 26, + -112, + -90, + -15, + 49, + -72, + -17 + ], + [ + -3, + 54, + -65, + 48, + 84, + 21, + 56, + -86, + 104, + -51, + -78 + ], + [ + 12, + -30, + -10, + 78, + 9, + -33, + 76, + -31, + 117, + 124, + -8 + ], + [ + 69, + 53, + 92, + -10, + -24, + -58, + 21, + 29, + -13, + -49, + -13 + ], + [ + 0, + -96, + 40, + 87, + -46, + -29, + -105, + 20, + -19, + 91, + 104 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..7d311062b --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json @@ -0,0 +1,264 @@ +{ + 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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 72, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 5, + 11 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 11, + 3 + ], + type: "INT4", + data: [ + 196, + 11, + 146, + 160, + 236, + 201, + 114, + 212, + 247, + 94, + 78, + 219, + 199, + 245, + 247, + 224, + 12 + ] + }, + { + name: "const-2", + shape: [ + 33 + ], + type: "INT32", + data: [ + 153, + 220, + 2, + 88, + 16, + 57, + 188, + 18, + 73, + 212, + 78, + 1, + 113, + 106, + 65, + 223, + 176, + 235, + 183, + 69, + 177, + 164, + 13, + 217, + 62, + 16, + 215, + 188, + 98, + 211, + 21, + 149, + 7, + 165, + 139, + 95, + 44, + 232, + 185, + 146, + 188, + 179, + 74, + 88, + 36, + 241, + 248, + 224, + 29, + 213, + 166, + 128, + 8, + 89, + 27, + 109, + 148, + 110, + 167, + 61, + 246, + 20, + 24, + 57, + 97, + 169, + 68, + 12, + 148, + 247, + 179, + 66, + 10, + 55, + 21, + 162, + 73, + 121, + 250, + 187, + 9, + 3, + 57, + 11, + 241, + 33, + 10, + 60, + 102, + 1, + 162, + 22, + 191, + 135, + 4, + 232, + 215, + 139, + 0, + 44, + 25, + 57, + 52, + 143, + 248, + 1, + 26, + 2, + 128, + 128, + 18, + 229, + 221, + 116, + 135, + 255, + 36, + 217, + 153, + 161, + 8, + 2, + 65, + 103, + 73, + 12, + 140, + 90, + 147, + 26, + 81, + 113 + ] + }, + { + name: "result-0", + shape: [ + 1, + 6, + 6, + 33 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |