diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-02-13 12:10:09 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-02-22 16:35:47 +0000 |
commit | 36989d315242a1c9296bb434ea0691b1304420b0 (patch) | |
tree | 688d3e5ebaaab02490eaf041c6f3669d1b0304e5 /operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111 | |
parent | 9bcb0878be85d1f84a0beee9c4c8d920ce80d825 (diff) | |
download | conformance_tests-36989d315242a1c9296bb434ea0691b1304420b0.tar.gz |
Create MI tests for Tensor: CONV3D
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I1625af764e1c927aa04cfa8ab8f24ea76b18a053
Diffstat (limited to 'operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111')
3 files changed, 561 insertions, 0 deletions
diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/desc.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/desc.json new file mode 100644 index 000000000..671c6cfc2 --- /dev/null +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/desc.json @@ -0,0 +1,21 @@ +{ + "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": "Op output list does not match expected output", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/input-0.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/input-0.json new file mode 100644 index 000000000..8e757bc0d --- /dev/null +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/input-0.json @@ -0,0 +1,389 @@ +{ + "type": "float16", + "data": [ + [ + [ + [ + [ + 0.458740234375, + 0.85107421875, + 0.3046875 + ], + [ + 0.450439453125, + 0.66552734375, + 0.1304931640625 + ], + [ + 0.42236328125, + 0.309326171875, + 0.6767578125 + ], + [ + 0.135986328125, + 0.2327880859375, + 0.71142578125 + ], + [ + 0.15625, + 0.422119140625, + 0.712890625 + ] + ], + [ + [ + 0.765625, + 0.09490966796875, + 0.85205078125 + ], + [ + 0.72412109375, + 0.33935546875, + 0.763671875 + ], + [ + 0.728515625, + 0.60107421875, + 0.55859375 + ], + [ + 0.73486328125, + 0.9990234375, + 0.57861328125 + ], + [ + 0.80859375, + 0.744140625, + 0.85595703125 + ] + ], + [ + [ + 0.95458984375, + 0.193115234375, + 0.1654052734375 + ], + [ + 0.58642578125, + 0.44921875, + 0.57080078125 + ], + [ + 0.7978515625, + 0.931640625, + 0.41748046875 + ], + [ + 0.7177734375, + 0.19677734375, + 0.53466796875 + ], + [ + 0.0218048095703125, + 0.50390625, + 0.54541015625 + ] + ], + [ + [ + 0.7353515625, + 0.6494140625, + 0.3583984375 + ], + [ + 0.00572967529296875, + 0.115478515625, + 0.97314453125 + ], + [ + 0.92236328125, + 0.3251953125, + 0.2587890625 + ], + [ + 0.4365234375, + 0.68994140625, + 0.35693359375 + ], + [ + 0.06732177734375, + 0.40283203125, + 0.260498046875 + ] + ], + [ + [ + 0.324951171875, + 0.1629638671875, + 0.65869140625 + ], + [ + 0.52685546875, + 0.270751953125, + 0.5537109375 + ], + [ + 0.49267578125, + 0.7958984375, + 0.9560546875 + ], + [ + 0.130615234375, + 0.8837890625, + 0.70458984375 + ], + [ + 0.6923828125, + 0.374267578125, + 0.343994140625 + ] + ], + [ + [ + 0.00563812255859375, + 0.982421875, + 0.6064453125 + ], + [ + 0.40234375, + 0.5439453125, + 0.04052734375 + ], + [ + 0.1737060546875, + 0.62353515625, + 0.51416015625 + ], + [ + 0.787109375, + 0.65869140625, + 0.6015625 + ], + [ + 0.8154296875, + 0.0682373046875, + 0.69091796875 + ] + ], + [ + [ + 0.7158203125, + 0.275146484375, + 0.1956787109375 + ], + [ + 0.2138671875, + 0.1981201171875, + 0.52392578125 + ], + [ + 0.1356201171875, + 0.6591796875, + 0.1051025390625 + ], + [ + 0.026885986328125, + 0.3193359375, + 0.19189453125 + ], + [ + 0.98876953125, + 0.302978515625, + 0.2220458984375 + ] + ] + ], + [ + [ + [ + 0.19677734375, + 0.373779296875, + 0.60595703125 + ], + [ + 0.78173828125, + 0.364501953125, + 0.6259765625 + ], + [ + 0.482177734375, + 0.8466796875, + 0.56884765625 + ], + [ + 0.289794921875, + 0.70361328125, + 0.81982421875 + ], + [ + 0.46533203125, + 0.9873046875, + 0.87890625 + ] + ], + [ + [ + 0.1968994140625, + 0.78662109375, + 0.60107421875 + ], + [ + 0.53466796875, + 0.51416015625, + 0.853515625 + ], + [ + 0.61083984375, + 0.53759765625, + 0.048858642578125 + ], + [ + 0.4482421875, + 0.908203125, + 0.7119140625 + ], + [ + 0.05096435546875, + 0.8837890625, + 0.82666015625 + ] + ], + [ + [ + 0.546875, + 0.02239990234375, + 0.5625 + ], + [ + 0.054595947265625, + 0.3203125, + 0.62890625 + ], + [ + 0.9130859375, + 0.35791015625, + 0.85986328125 + ], + [ + 0.91845703125, + 0.0210418701171875, + 0.2393798828125 + ], + [ + 0.7099609375, + 0.7568359375, + 0.392333984375 + ] + ], + [ + [ + 0.65673828125, + 0.6123046875, + 0.73974609375 + ], + [ + 0.71875, + 0.08587646484375, + 0.158203125 + ], + [ + 0.1326904296875, + 0.9326171875, + 0.91357421875 + ], + [ + 0.79736328125, + 0.11669921875, + 0.57421875 + ], + [ + 0.187255859375, + 0.368408203125, + 0.26708984375 + ] + ], + [ + [ + 0.8291015625, + 0.1444091796875, + 0.64599609375 + ], + [ + 0.98388671875, + 0.68701171875, + 0.0792236328125 + ], + [ + 0.90771484375, + 0.64306640625, + 0.456298828125 + ], + [ + 0.65966796875, + 0.87890625, + 0.47705078125 + ], + [ + 0.53125, + 0.452392578125, + 0.07257080078125 + ] + ], + [ + [ + 0.787109375, + 0.12646484375, + 0.39453125 + ], + [ + 0.38671875, + 0.280029296875, + 0.402587890625 + ], + [ + 0.6181640625, + 0.311279296875, + 0.1724853515625 + ], + [ + 0.869140625, + 0.970703125, + 0.45849609375 + ], + [ + 0.326904296875, + 0.0474853515625, + 0.036865234375 + ] + ], + [ + [ + 0.392822265625, + 0.93017578125, + 0.73046875 + ], + [ + 0.349365234375, + 0.96826171875, + 0.4287109375 + ], + [ + 0.27685546875, + 0.42626953125, + 0.2115478515625 + ], + [ + 0.8857421875, + 0.361083984375, + 0.658203125 + ], + [ + 0.38916015625, + 0.90185546875, + 0.642578125 + ] + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/test.json new file mode 100644 index 000000000..2fda4d96a --- /dev/null +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputList_1x2x7x5x3_f16xf16_accf16_st111_pad000000_dilat111/test.json @@ -0,0 +1,151 @@ +{ + 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: "CONV3D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 7, + 5, + 3 + ], + type: "FP16" + }, + { + name: "const-1", + shape: [ + 3, + 1, + 1, + 1, + 3 + ], + type: "FP16", + data: [ + 208, + 55, + 59, + 48, + 55, + 59, + 96, + 56, + 144, + 52, + 6, + 59, + 248, + 42, + 6, + 53, + 75, + 56 + ] + }, + { + name: "const-2", + shape: [ + 3 + ], + type: "FP16", + data: [ + 112, + 53, + 161, + 55, + 59, + 52 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 7, + 5, + 3 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |