diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:58:06 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:58:06 +0100 |
commit | 1d38be721ba973a64bf4ea54d1d4c17c6038625e (patch) | |
tree | 6d7bfd6bf81f172f57108538bdb264ef52a610d0 /operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x13x13x6_f16xf16_accf16_st11_pad0000_dilat11/test.json | |
parent | e680768ca1042791012ba3ab312f747790f5d93e (diff) | |
download | conformance_tests-1d38be721ba973a64bf4ea54d1d4c17c6038625e.tar.gz |
Updating DEPTHWISE_CONV2D_1X1 tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I26e9584a440eafcfb300c11f2cb69081aa33b9bb
Diffstat (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x13x13x6_f16xf16_accf16_st11_pad0000_dilat11/test.json')
-rw-r--r-- | operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x13x13x6_f16xf16_accf16_st11_pad0000_dilat11/test.json | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x13x13x6_f16xf16_accf16_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x13x13x6_f16xf16_accf16_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..9623a945a --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x13x13x6_f16xf16_accf16_st11_pad0000_dilat11/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: -96, + accum_dtype: "FP16" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 13, + 13, + 6 + ], + type: "FP16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 6, + 3 + ], + type: "FP16", + data: [ + 200, + 54, + 58, + 52, + 239, + 56, + 197, + 55, + 34, + 47, + 71, + 58, + 208, + 54, + 227, + 56, + 9, + 28, + 3, + 57, + 135, + 52, + 233, + 55, + 195, + 52, + 248, + 59, + 99, + 51, + 78, + 59, + 88, + 59, + 188, + 54 + ] + }, + { + name: "const-2", + shape: [ + 18 + ], + type: "FP16", + data: [ + 221, + 52, + 25, + 54, + 234, + 59, + 243, + 56, + 92, + 56, + 153, + 40, + 200, + 58, + 93, + 45, + 3, + 42, + 102, + 52, + 157, + 55, + 42, + 59, + 82, + 58, + 83, + 50, + 244, + 53, + 62, + 58, + 55, + 56, + 149, + 49 + ] + }, + { + name: "result-0", + shape: [ + 1, + 13, + 13, + 18 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |