aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/fully_connected_14x19_qi8
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 15:17:52 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 16:40:57 +0000
commitb08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch)
tree4b4737ff52e92c1c17922a972384930953a26a61 /frameworks/tflite/operators/fully_connected_14x19_qi8
parent007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff)
downloadconformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'frameworks/tflite/operators/fully_connected_14x19_qi8')
-rw-r--r--frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json541
1 files changed, 273 insertions, 268 deletions
diff --git a/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json b/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json
index ecae1f628..fa8d7d200 100644
--- a/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json
+++ b/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json
@@ -5,288 +5,293 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "layer_0"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "layer_0"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "layer_1"
+ ]
+ },
+ {
+ op: "TRANSPOSE",
+ attribute_type: "TransposeAttribute",
+ attribute: {
+ perms: [
+ 1,
+ 0
+ ]
+ },
+ inputs: [
+ "TosaInput_1"
+ ],
+ outputs: [
+ "layer_2"
+ ]
+ },
+ {
+ op: "FULLY_CONNECTED",
+ attribute_type: "FullyConnectedAttribute",
+ attribute: {
+ input_zp: -1,
+ weight_zp: -1,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "TosaInput_0",
+ "layer_2",
+ "layer_0"
+ ],
+ outputs: [
+ "layer_3"
+ ]
+ },
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: 3,
+ multiplier: [
+ 1353377973
+ ],
+ shift: [
+ 40
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: false
+ },
+ inputs: [
+ "layer_3"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
],
- outputs: [
- "layer_1"
- ]
- },
- {
- op: "TRANSPOSE",
- attribute_type: "TransposeAttribute",
- attribute: {
- perms: [
- 1,
- 0
- ]
- },
- inputs: [
- "TosaInput_1"
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 14,
+ 19
+ ],
+ type: "INT8",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaInput_1",
+ shape: [
+ 19,
+ 28
+ ],
+ type: "INT8",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 14,
+ 28
+ ],
+ type: "INT8",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_0",
+ shape: [
+ 28
+ ],
+ type: "INT32",
+ data: [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "layer_1",
+ shape: [
+ 2
+ ],
+ type: "INT32",
+ data: [
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "layer_2",
+ shape: [
+ 28,
+ 19
+ ],
+ type: "INT8",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_3",
+ shape: [
+ 14,
+ 28
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ }
],
- outputs: [
- "layer_2"
- ]
- },
- {
- op: "FULLY_CONNECTED",
- attribute_type: "FullyConnectedAttribute",
- attribute: {
- input_zp: -1,
- weight_zp: -1,
- accum_dtype: "INT32"
- },
inputs: [
"TosaInput_0",
- "layer_2",
- "layer_0"
- ],
- outputs: [
- "layer_3"
- ]
- },
- {
- op: "RESCALE",
- attribute_type: "RescaleAttribute",
- attribute: {
- input_zp: 0,
- output_zp: 3,
- multiplier: [
- 1353377973
- ],
- shift: [
- 40
- ],
- scale32: true,
- double_round: true,
- per_channel: false
- },
- inputs: [
- "layer_3"
+ "TosaInput_1"
],
outputs: [
"TosaOutput_0"
]
}
- ],
- tensors: [
- {
- name: "TosaInput_0",
- shape: [
- 14,
- 19
- ],
- type: "INT8",
- data: [
-
- ]
- },
- {
- name: "TosaInput_1",
- shape: [
- 19,
- 28
- ],
- type: "INT8",
- data: [
-
- ]
- },
- {
- name: "TosaOutput_0",
- shape: [
- 14,
- 28
- ],
- type: "INT8",
- data: [
-
- ]
- },
- {
- name: "layer_0",
- shape: [
- 28
- ],
- type: "INT32",
- data: [
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
- ]
- },
- {
- name: "layer_1",
- shape: [
- 2
- ],
- type: "INT32",
- data: [
- 1,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
- ]
- },
- {
- name: "layer_2",
- shape: [
- 28,
- 19
- ],
- type: "INT8",
- data: [
-
- ]
- },
- {
- name: "layer_3",
- shape: [
- 14,
- 28
- ],
- type: "INT32",
- data: [
-
- ]
- }
- ],
- inputs: [
- "TosaInput_0",
- "TosaInput_1"
- ],
- outputs: [
- "TosaOutput_0"
]
}
]