aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-11-16 14:39:55 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2022-11-16 14:46:02 +0000
commit874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch)
tree4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32
parent7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff)
downloadconformance_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/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32')
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/desc.json22
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/input-0.json149
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/test.json403
3 files changed, 574 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/desc.json
new file mode 100644
index 000000000..0f8c18b9a
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/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": "Weight DType not INT8 and zero point not 0",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/input-0.json
new file mode 100644
index 000000000..24c68369b
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/input-0.json
@@ -0,0 +1,149 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ 0.255859375,
+ 0.5859375,
+ 0.408203125,
+ 0.21875,
+ 0.8125,
+ 0.859375,
+ 0.1669921875,
+ 0.007476806640625,
+ 0.3359375,
+ 0.796875
+ ],
+ [
+ 0.8359375,
+ 0.1376953125,
+ 0.7734375,
+ 0.115234375,
+ 0.388671875,
+ 0.99609375,
+ 0.1923828125,
+ 0.1533203125,
+ 0.421875,
+ 0.6171875
+ ],
+ [
+ 0.9296875,
+ 0.98046875,
+ 0.0693359375,
+ 0.1376953125,
+ 0.7890625,
+ 0.26953125,
+ 0.8828125,
+ 0.66015625,
+ 0.11181640625,
+ 0.83203125
+ ],
+ [
+ 0.17578125,
+ 0.421875,
+ 0.55078125,
+ 0.5,
+ 0.68359375,
+ 0.65234375,
+ 0.98828125,
+ 0.99609375,
+ 0.515625,
+ 0.0947265625
+ ],
+ [
+ 0.7265625,
+ 0.9765625,
+ 0.31640625,
+ 0.4609375,
+ 0.423828125,
+ 0.05126953125,
+ 0.671875,
+ 0.3515625,
+ 0.78515625,
+ 0.83203125
+ ],
+ [
+ 0.8203125,
+ 0.416015625,
+ 0.3203125,
+ 0.74609375,
+ 0.80078125,
+ 0.490234375,
+ 0.890625,
+ 0.1435546875,
+ 0.87890625,
+ 0.095703125
+ ],
+ [
+ 0.1533203125,
+ 0.53125,
+ 0.0673828125,
+ 0.052734375,
+ 0.000514984130859375,
+ 0.435546875,
+ 0.7734375,
+ 0.03466796875,
+ 0.6484375,
+ 0.8203125
+ ],
+ [
+ 0.16796875,
+ 0.146484375,
+ 0.859375,
+ 0.8203125,
+ 0.53515625,
+ 0.81640625,
+ 0.09228515625,
+ 0.392578125,
+ 0.734375,
+ 0.255859375
+ ],
+ [
+ 0.75,
+ 0.50390625,
+ 0.75,
+ 0.462890625,
+ 0.3671875,
+ 0.21875,
+ 0.2080078125,
+ 0.75,
+ 0.11865234375,
+ 0.0859375
+ ],
+ [
+ 0.17578125,
+ 0.1748046875,
+ 0.8203125,
+ 0.3984375,
+ 0.98828125,
+ 0.13671875,
+ 0.65234375,
+ 0.447265625,
+ 0.392578125,
+ 0.875
+ ],
+ [
+ 0.97265625,
+ 0.87109375,
+ 0.19140625,
+ 0.220703125,
+ 0.65234375,
+ 0.2890625,
+ 0.734375,
+ 0.56640625,
+ 0.55078125,
+ 0.828125
+ ],
+ [
+ 0.70703125,
+ 0.0264892578125,
+ 0.04931640625,
+ 0.59765625,
+ 0.484375,
+ 0.259765625,
+ 0.41796875,
+ 0.7578125,
+ 0.82421875,
+ 0.55859375
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/test.json
new file mode 100644
index 000000000..4f1d788e0
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x10_bf16xbf16_accf32/test.json
@@ -0,0 +1,403 @@
+{
+ 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: "FULLY_CONNECTED",
+ attribute_type: "FullyConnectedAttribute",
+ attribute: {
+ input_zp: 0,
+ weight_zp: -118,
+ accum_dtype: "FP32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 10
+ ],
+ type: "BF16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 7,
+ 10
+ ],
+ type: "BF16",
+ data: [
+ 0,
+ 0,
+ 197,
+ 62,
+ 0,
+ 0,
+ 138,
+ 62,
+ 0,
+ 0,
+ 5,
+ 63,
+ 0,
+ 0,
+ 161,
+ 62,
+ 0,
+ 0,
+ 16,
+ 63,
+ 0,
+ 0,
+ 45,
+ 63,
+ 0,
+ 0,
+ 135,
+ 61,
+ 0,
+ 0,
+ 139,
+ 58,
+ 0,
+ 0,
+ 89,
+ 62,
+ 0,
+ 0,
+ 100,
+ 63,
+ 0,
+ 0,
+ 37,
+ 63,
+ 0,
+ 0,
+ 48,
+ 62,
+ 0,
+ 0,
+ 99,
+ 63,
+ 0,
+ 0,
+ 240,
+ 62,
+ 0,
+ 0,
+ 243,
+ 62,
+ 0,
+ 0,
+ 111,
+ 63,
+ 0,
+ 0,
+ 115,
+ 61,
+ 0,
+ 0,
+ 92,
+ 62,
+ 0,
+ 0,
+ 21,
+ 63,
+ 0,
+ 0,
+ 72,
+ 62,
+ 0,
+ 0,
+ 45,
+ 63,
+ 0,
+ 0,
+ 91,
+ 62,
+ 0,
+ 0,
+ 203,
+ 61,
+ 0,
+ 0,
+ 83,
+ 62,
+ 0,
+ 0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