aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad00...
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-01-30 11:48:56 +0000
committerEric Kunze <eric.kunze@arm.com>2023-02-06 19:02:24 +0000
commit1a93a54b3e0498fd5d57182098b953dca2e3b992 (patch)
treec036788c06e99fb19f9f65c71f6d97c2dd1f3382 /operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11
parent247295efaafba00330cf7dd5fbf0b17e92e7d312 (diff)
downloadconformance_tests-1a93a54b3e0498fd5d57182098b953dca2e3b992.tar.gz
Create MI tests for Tensor: CONV2D
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I383bcfcca6de3c6940d58721579f0fcc1d510774
Diffstat (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11')
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/desc.json21
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/input-0.json315
-rw-r--r--operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/test.json311
3 files changed, 647 insertions, 0 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/desc.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/desc.json
new file mode 100644
index 000000000..56f2242d4
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/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": "Weight DType not INT8 and zero point not 0",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/input-0.json
new file mode 100644
index 000000000..0051783a7
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/input-0.json
@@ -0,0 +1,315 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ [
+ 0.041748046875,
+ 0.439453125,
+ 0.212890625,
+ 0.9140625,
+ 0.9765625
+ ],
+ [
+ 0.298828125,
+ 0.1748046875,
+ 0.21875,
+ 0.4765625,
+ 0.87109375
+ ],
+ [
+ 0.5,
+ 0.05517578125,
+ 0.039794921875,
+ 0.2265625,
+ 0.83984375
+ ],
+ [
+ 0.62109375,
+ 0.5625,
+ 0.318359375,
+ 0.92578125,
+ 0.330078125
+ ],
+ [
+ 0.83203125,
+ 0.89453125,
+ 0.482421875,
+ 0.890625,
+ 0.275390625
+ ],
+ [
+ 0.65625,
+ 0.087890625,
+ 0.47265625,
+ 0.216796875,
+ 0.0625
+ ]
+ ],
+ [
+ [
+ 0.00372314453125,
+ 0.32421875,
+ 0.5859375,
+ 0.455078125,
+ 0.30078125
+ ],
+ [
+ 0.98828125,
+ 0.9375,
+ 0.125,
+ 0.4140625,
+ 0.6484375
+ ],
+ [
+ 0.73046875,
+ 0.365234375,
+ 0.74609375,
+ 0.1240234375,
+ 0.330078125
+ ],
+ [
+ 0.71484375,
+ 0.625,
+ 0.8359375,
+ 0.046630859375,
+ 0.173828125
+ ],
+ [
+ 0.04833984375,
+ 0.19140625,
+ 0.0042724609375,
+ 0.50390625,
+ 0.52734375
+ ],
+ [
+ 0.65625,
+ 0.384765625,
+ 0.003204345703125,
+ 0.671875,
+ 0.05419921875
+ ]
+ ],
+ [
+ [
+ 0.86328125,
+ 0.0225830078125,
+ 0.52734375,
+ 0.89453125,
+ 0.5703125
+ ],
+ [
+ 0.60546875,
+ 0.6796875,
+ 0.1220703125,
+ 0.671875,
+ 0.87890625
+ ],
+ [
+ 0.97265625,
+ 0.44140625,
+ 0.34375,
+ 0.75,
+ 0.5390625
+ ],
+ [
+ 0.255859375,
+ 0.171875,
+ 0.169921875,
+ 0.458984375,
+ 0.169921875
+ ],
+ [
+ 0.0196533203125,
+ 0.052001953125,
+ 0.9296875,
+ 0.07275390625,
+ 0.07275390625
+ ],
+ [
+ 0.451171875,
+ 0.244140625,
+ 0.9609375,
+ 0.91015625,
+ 0.404296875
+ ]
+ ],
+ [
+ [
+ 0.447265625,
+ 0.375,
+ 0.037841796875,
+ 0.291015625,
+ 0.12255859375
+ ],
+ [
+ 0.10205078125,
+ 0.55859375,
+ 0.0986328125,
+ 0.1025390625,
+ 0.48046875
+ ],
+ [
+ 0.44140625,
+ 0.13671875,
+ 0.004425048828125,
+ 0.1923828125,
+ 0.2353515625
+ ],
+ [
+ 0.796875,
+ 0.9140625,
+ 0.404296875,
+ 0.404296875,
+ 0.7109375
+ ],
+ [
+ 0.625,
+ 0.18359375,
+ 0.107421875,
+ 0.4375,
+ 0.5625
+ ],
+ [
+ 0.138671875,
+ 0.29296875,
+ 0.3046875,
+ 0.259765625,
+ 0.458984375
+ ]
+ ],
+ [
+ [
+ 0.65234375,
+ 0.5078125,
+ 0.201171875,
+ 0.1025390625,
+ 0.8203125
+ ],
+ [
+ 0.478515625,
+ 0.06201171875,
+ 0.2578125,
+ 0.80078125,
+ 0.75
+ ],
+ [
+ 0.875,
+ 0.6015625,
+ 0.421875,
+ 0.42578125,
+ 0.193359375
+ ],
+ [
+ 0.6484375,
+ 0.58203125,
+ 0.154296875,
+ 0.8828125,
+ 0.3671875
+ ],
+ [
+ 0.049560546875,
+ 0.326171875,
+ 0.8671875,
+ 0.9140625,
+ 0.490234375
+ ],
+ [
+ 0.953125,
+ 0.875,
+ 0.82421875,
+ 0.859375,
+ 0.380859375
+ ]
+ ],
+ [
+ [
+ 0.75390625,
+ 0.57421875,
+ 0.71875,
+ 0.177734375,
+ 0.73046875
+ ],
+ [
+ 0.95703125,
+ 0.30078125,
+ 0.984375,
+ 0.376953125,
+ 0.19921875
+ ],
+ [
+ 0.11181640625,
+ 0.78125,
+ 0.5546875,
+ 0.306640625,
+ 0.60546875
+ ],
+ [
+ 0.33203125,
+ 0.447265625,
+ 0.859375,
+ 0.66796875,
+ 0.76171875
+ ],
+ [
+ 0.58203125,
+ 0.98828125,
+ 0.2412109375,
+ 0.26171875,
+ 0.09228515625
+ ],
+ [
+ 0.55078125,
+ 0.61328125,
+ 0.72265625,
+ 0.333984375,
+ 0.01220703125
+ ]
+ ],
+ [
+ [
+ 0.62890625,
+ 0.99609375,
+ 0.29296875,
+ 0.18359375,
+ 0.28125
+ ],
+ [
+ 0.423828125,
+ 0.25,
+ 0.345703125,
+ 0.63671875,
+ 0.34375
+ ],
+ [
+ 0.39453125,
+ 0.039794921875,
+ 0.9140625,
+ 0.40625,
+ 0.328125
+ ],
+ [
+ 0.08642578125,
+ 0.6328125,
+ 0.86328125,
+ 0.041015625,
+ 0.14453125
+ ],
+ [
+ 0.1455078125,
+ 0.6015625,
+ 0.91796875,
+ 0.4375,
+ 0.34375
+ ],
+ [
+ 0.765625,
+ 0.7421875,
+ 0.24609375,
+ 0.16015625,
+ 0.357421875
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/test.json
new file mode 100644
index 000000000..e7790785f
--- /dev/null
+++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x7x6x5_bf16xbf16_accf32_st11_pad0000_dilat11/test.json
@@ -0,0 +1,311 @@
+{
+ 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: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 76
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 7,
+ 6,
+ 5
+ ],
+ type: "BF16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 8,
+ 1,
+ 1,
+ 5
+ ],
+ type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