diff options
author | James Ward <james.ward@arm.com> | 2023-02-07 20:10:48 +0000 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2023-02-20 11:12:45 +0000 |
commit | dca402e71ab73c9e5843eb5a1cba4c380f8874a9 (patch) | |
tree | 4085e4c3262be4bbfa371702d50956599d663541 /operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x17x31x4_bf16xbf16_accf32_st22_pad0000_dilat21/test.json | |
parent | 2e5ae1b56c08821a5e0dd7dac40d0a6d73acbadc (diff) | |
download | conformance_tests-dca402e71ab73c9e5843eb5a1cba4c380f8874a9.tar.gz |
Create MI tests for Tensors: DEPTHWISE_CONV2D
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I1f414a68c4f532b3315ec5ffab932dd3d70407b5
Diffstat (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x17x31x4_bf16xbf16_accf32_st22_pad0000_dilat21/test.json')
-rw-r--r-- | operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x17x31x4_bf16xbf16_accf32_st22_pad0000_dilat21/test.json | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x17x31x4_bf16xbf16_accf32_st22_pad0000_dilat21/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x17x31x4_bf16xbf16_accf32_st22_pad0000_dilat21/test.json new file mode 100644 index 000000000..795552dec --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x17x31x4_bf16xbf16_accf32_st22_pad0000_dilat21/test.json @@ -0,0 +1,183 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + 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: [ + 2, + 2 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 17, + 31, + 4 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "BF16", + data: [ + 0, + 0, + 252, + 63, + 0, + 0, + 149, + 63, + 0, + 0, + 227, + 191, + 0, + 0, + 245, + 62, + 0, + 0, + 253, + 63, + 0, + 0, + 148, + 62, + 0, + 0, + 175, + 63, + 0, + 0, + 180, + 191 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "FP32", + data: [ + 115, + 195, + 240, + 191, + 92, + 49, + 100, + 191, + 50, + 170, + 19, + 63, + 185, + 168, + 12, + 191, + 4, + 190, + 211, + 191, + 138, + 44, + 123, + 63, + 185, + 105, + 161, + 191, + 211, + 193, + 107, + 63 + ] + }, + { + name: "result-0", + shape: [ + 1, + 9, + 16, + 8 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |