aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/pad/pad_50_bf16_pad11
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-11-21 11:51:55 +0000
committerJames Ward <james.ward@arm.com>2022-11-21 11:51:55 +0000
commitd8e6b6b5148a3d61b378e6e5259ca421a709abef (patch)
tree2ec785497e47a644c12d57f22a306b0749d22735 /operators/data_layout/pad/pad_50_bf16_pad11
parentda333bee0fae850bf90f422d68902884b6063cce (diff)
downloadconformance_tests-d8e6b6b5148a3d61b378e6e5259ca421a709abef.tar.gz
Create MI tests for Data Layout: CONCAT, PAD, RESHAPE, REVERSE, SLICE, TILE, TRANSPOSE
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: Icbbe8f63e35d04a3b2cc64bd760ca92c22fd4aa7
Diffstat (limited to 'operators/data_layout/pad/pad_50_bf16_pad11')
-rw-r--r--operators/data_layout/pad/pad_50_bf16_pad11/Conformance-result-0.json57
-rw-r--r--operators/data_layout/pad/pad_50_bf16_pad11/desc.json23
-rw-r--r--operators/data_layout/pad/pad_50_bf16_pad11/input-0.json55
-rw-r--r--operators/data_layout/pad/pad_50_bf16_pad11/test.json55
4 files changed, 190 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_50_bf16_pad11/Conformance-result-0.json b/operators/data_layout/pad/pad_50_bf16_pad11/Conformance-result-0.json
new file mode 100644
index 000000000..75f1795d0
--- /dev/null
+++ b/operators/data_layout/pad/pad_50_bf16_pad11/Conformance-result-0.json
@@ -0,0 +1,57 @@
+{
+ "type": "float32",
+ "data": [
+ 0.0,
+ -1.5078125,
+ 1.3203125,
+ -1.3828125,
+ -1.28125,
+ 0.396484375,
+ 1.4921875,
+ -1.2109375,
+ -0.7578125,
+ 1.109375,
+ 1.8828125,
+ 0.002960205078125,
+ -1.421875,
+ -1.9375,
+ -1.078125,
+ -1.46875,
+ 0.70703125,
+ -1.5078125,
+ 0.0252685546875,
+ 0.7734375,
+ 0.32421875,
+ -1.1953125,
+ 1.2109375,
+ 0.859375,
+ 0.953125,
+ -1.46875,
+ -1.5,
+ 1.703125,
+ -0.408203125,
+ -0.79296875,
+ -0.045654296875,
+ 0.6484375,
+ 1.8203125,
+ -0.8515625,
+ 1.6953125,
+ -1.8984375,
+ 0.220703125,
+ 0.53515625,
+ -1.5703125,
+ -1.4375,
+ -0.322265625,
+ 1.859375,
+ 0.3828125,
+ 1.7265625,
+ 1.2109375,
+ -0.1298828125,
+ 1.1328125,
+ -1.921875,
+ -1.5625,
+ 1.3125,
+ 1.1796875,
+ 0.0
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_50_bf16_pad11/desc.json b/operators/data_layout/pad/pad_50_bf16_pad11/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/data_layout/pad/pad_50_bf16_pad11/desc.json
@@ -0,0 +1,23 @@
+{
+ "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": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_50_bf16_pad11/input-0.json b/operators/data_layout/pad/pad_50_bf16_pad11/input-0.json
new file mode 100644
index 000000000..77d25d2d8
--- /dev/null
+++ b/operators/data_layout/pad/pad_50_bf16_pad11/input-0.json
@@ -0,0 +1,55 @@
+{
+ "type": "float32",
+ "data": [
+ -1.5078125,
+ 1.3203125,
+ -1.3828125,
+ -1.28125,
+ 0.396484375,
+ 1.4921875,
+ -1.2109375,
+ -0.7578125,
+ 1.109375,
+ 1.8828125,
+ 0.002960205078125,
+ -1.421875,
+ -1.9375,
+ -1.078125,
+ -1.46875,
+ 0.70703125,
+ -1.5078125,
+ 0.0252685546875,
+ 0.7734375,
+ 0.32421875,
+ -1.1953125,
+ 1.2109375,
+ 0.859375,
+ 0.953125,
+ -1.46875,
+ -1.5,
+ 1.703125,
+ -0.408203125,
+ -0.79296875,
+ -0.045654296875,
+ 0.6484375,
+ 1.8203125,
+ -0.8515625,
+ 1.6953125,
+ -1.8984375,
+ 0.220703125,
+ 0.53515625,
+ -1.5703125,
+ -1.4375,
+ -0.322265625,
+ 1.859375,
+ 0.3828125,
+ 1.7265625,
+ 1.2109375,
+ -0.1298828125,
+ 1.1328125,
+ -1.921875,
+ -1.5625,
+ 1.3125,
+ 1.1796875
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_50_bf16_pad11/test.json b/operators/data_layout/pad/pad_50_bf16_pad11/test.json
new file mode 100644
index 000000000..483fc5353
--- /dev/null
+++ b/operators/data_layout/pad/pad_50_bf16_pad11/test.json
@@ -0,0 +1,55 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "PAD",
+ attribute_type: "PadAttribute",
+ attribute: {
+ padding: [
+ 1,
+ 1
+ ],
+ pad_const_int: 0,
+ pad_const_fp: 1.429688
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 50
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 52
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}