aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json
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/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json
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/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json')
-rw-r--r--frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json773
1 files changed, 389 insertions, 384 deletions
diff --git a/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json b/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json
index e29bcdcbb..b1a579b9f 100644
--- a/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json
+++ b/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json
@@ -5,403 +5,408 @@
_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: "CONV2D",
+ attribute_type: "ConvAttribute",
+ attribute: {
+ pad: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ stride: [
+ 1,
+ 1
+ ],
+ dilation: [
+ 1,
+ 1
+ ],
+ input_zp: 0,
+ weight_zp: 0,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "TosaInput_0",
+ "layer_1",
+ "layer_0"
+ ],
+ outputs: [
+ "layer_2"
+ ]
+ },
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: -128,
+ multiplier: [
+ 1989645362,
+ 1774547105,
+ 1764032025,
+ 1877784255,
+ 1805350445,
+ 1853743948,
+ 1936186774,
+ 1788418776,
+ 1864353099,
+ 1298649671,
+ 1945508892,
+ 1902331585,
+ 2025616724,
+ 1952922631,
+ 1790681029,
+ 1272884693
+ ],
+ shift: [
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39,
+ 39
+ ],
+ scale32: true,
+ double_round: true,
+ per_channel: true
+ },
+ inputs: [
+ "layer_2"
+ ],
+ outputs: [
+ "layer_3"
+ ]
+ },
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -128,
+ max_int: 127,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "layer_3"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
],
- outputs: [
- "layer_1"
- ]
- },
- {
- op: "CONV2D",
- attribute_type: "ConvAttribute",
- attribute: {
- pad: [
- 0,
- 0,
- 0,
- 0
- ],
- stride: [
- 1,
- 1
- ],
- dilation: [
- 1,
- 1
- ],
- input_zp: 0,
- weight_zp: 0,
- accum_dtype: "INT32"
- },
- inputs: [
- "TosaInput_0",
- "layer_1",
- "layer_0"
- ],
- outputs: [
- "layer_2"
- ]
- },
- {
- op: "RESCALE",
- attribute_type: "RescaleAttribute",
- attribute: {
- input_zp: 0,
- output_zp: -128,
- multiplier: [
- 1989645362,
- 1774547105,
- 1764032025,
- 1877784255,
- 1805350445,
- 1853743948,
- 1936186774,
- 1788418776,
- 1864353099,
- 1298649671,
- 1945508892,
- 1902331585,
- 2025616724,
- 1952922631,
- 1790681029,
- 1272884693
- ],
- shift: [
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39,
- 39
- ],
- scale32: true,
- double_round: true,
- per_channel: true
- },
- inputs: [
- "layer_2"
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 8
+ ],
+ type: "INT8",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 16
+ ],
+ type: "INT8",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_0",
+ shape: [
+ 16
+ ],
+ 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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+ 32,
+ 16
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_3",
+ shape: [
+ 1,
+ 32,
+ 32,
+ 16
+ ],
+ type: "INT8",
+ data: [
+
+ ]
+ }
],
- outputs: [
- "layer_3"
- ]
- },
- {
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -128,
- max_int: 127,
- min_fp: 0.0,
- max_fp: 0.0
- },
inputs: [
- "layer_3"
+ "TosaInput_0"
],
outputs: [
"TosaOutput_0"
]
}
- ],
- tensors: [
- {
- name: "TosaInput_0",
- shape: [
- 1,
- 32,
- 32,
- 8
- ],
- type: "INT8",
- data: [
-
- ]
- },
- {
- name: "TosaOutput_0",
- shape: [
- 1,
- 32,
- 32,
- 16
- ],
- type: "INT8",
- data: [
-
- ]
- },
- {
- name: "layer_0",
- shape: [
- 16
- ],
- 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
- ]
- },
- {
- name: "layer_1",
- shape: [
- 16,
- 1,
- 1,
- 8
- ],
- type: "INT8",
- data: [
- 130,
- 20,
- 143,
- 129,
- 252,
- 236,
- 109,
- 195,
- 216,
- 115,
- 16,
- 233,
- 81,
- 164,
- 127,
- 5,
- 144,
- 127,
- 185,
- 17,
- 152,
- 244,
- 226,
- 104,
- 127,
- 59,
- 52,
- 218,
- 11,
- 96,
- 84,
- 81,
- 159,
- 17,
- 31,
- 56,
- 185,
- 129,
- 190,
- 189,
- 206,
- 101,
- 147,
- 129,
- 207,
- 32,
- 154,
- 49,
- 133,
- 66,
- 222,
- 127,
- 139,
- 45,
- 221,
- 137,
- 173,
- 168,
- 3,
- 231,
- 249,
- 138,
- 129,
- 182,
- 228,
- 60,
- 127,
- 220,
- 152,
- 117,
- 253,
- 6,
- 27,
- 157,
- 127,
- 22,
- 75,
- 126,
- 39,
- 107,
- 8,
- 241,
- 187,
- 22,
- 6,
- 16,
- 129,
- 178,
- 31,
- 91,
- 195,
- 35,
- 136,
- 129,
- 189,
- 71,
- 84,
- 176,
- 127,
- 99,
- 101,
- 241,
- 37,
- 86,
- 197,
- 239,
- 249,
- 251,
- 78,
- 62,
- 213,
- 127,
- 18,
- 3,
- 184,
- 109,
- 251,
- 129,
- 244,
- 159,
- 79,
- 154,
- 36,
- 194,
- 182,
- 117,
- 253,
- 127
- ]
- },
- {
- name: "layer_2",
- shape: [
- 1,
- 32,
- 32,
- 16
- ],
- type: "INT32",
- data: [
-
- ]
- },
- {
- name: "layer_3",
- shape: [
- 1,
- 32,
- 32,
- 16
- ],
- type: "INT8",
- data: [
-
- ]
- }
- ],
- inputs: [
- "TosaInput_0"
- ],
- outputs: [
- "TosaOutput_0"
]
}
]