diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 15:17:52 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 16:40:57 +0000 |
commit | b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch) | |
tree | 4b4737ff52e92c1c17922a972384930953a26a61 /frameworks/tflite/operators/tanh_13x21x3_qu8/test_tanh_13x21x3_qu8.json | |
parent | 007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff) | |
download | conformance_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/tanh_13x21x3_qu8/test_tanh_13x21x3_qu8.json')
-rw-r--r-- | frameworks/tflite/operators/tanh_13x21x3_qu8/test_tanh_13x21x3_qu8.json | 1421 |
1 files changed, 713 insertions, 708 deletions
diff --git a/frameworks/tflite/operators/tanh_13x21x3_qu8/test_tanh_13x21x3_qu8.json b/frameworks/tflite/operators/tanh_13x21x3_qu8/test_tanh_13x21x3_qu8.json index d23769fe0..d6b27299c 100644 --- a/frameworks/tflite/operators/tanh_13x21x3_qu8/test_tanh_13x21x3_qu8.json +++ b/frameworks/tflite/operators/tanh_13x21x3_qu8/test_tanh_13x21x3_qu8.json @@ -5,727 +5,732 @@ _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: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 127, + output_zp: -1, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_1" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: -1, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_1" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "TABLE", + attribute_type: "TableAttribute", + attribute: { + table: [ + -123, + -123, + -123, + -123, + -123, + -123, + -122, + -122, + -122, + -122, + -122, + -121, + -121, + -121, + -121, + -121, + -120, + -120, + -120, + -120, + -119, + -119, + -119, + -119, + -118, + -118, + -118, + -117, + -117, + -117, + -116, + -116, + -116, + -115, + -115, + -114, + -114, + -114, + -113, + -113, + -112, + -112, + -111, + -111, + -110, + -110, + -109, + -109, + -108, + -108, + -107, + -106, + -106, + -105, + -104, + -104, + -103, + -102, + -102, + -101, + -100, + -99, + -99, + -98, + -97, + -96, + -95, + -94, + -93, + -92, + -91, + -90, + -89, + -88, + -87, + -86, + -85, + -84, + -83, + -82, + -80, + -79, + -78, + -77, + -75, + -74, + -73, + -71, + -70, + -68, + -67, + -65, + -64, + -62, + -61, + -59, + -58, + -56, + -55, + -53, + -51, + -49, + -48, + -46, + -44, + -42, + -41, + -39, + -37, + -35, + -33, + -31, + -30, + -28, + -26, + -24, + -22, + -20, + -18, + -16, + -14, + -12, + -10, + -8, + -6, + -4, + -2, + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22, + 24, + 26, + 28, + 30, + 31, + 33, + 35, + 37, + 39, + 41, + 42, + 44, + 46, + 48, + 49, + 51, + 53, + 55, + 56, + 58, + 59, + 61, + 62, + 64, + 65, + 67, + 68, + 70, + 71, + 73, + 74, + 75, + 77, + 78, + 79, + 80, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 99, + 100, + 101, + 102, + 102, + 103, + 104, + 104, + 105, + 106, + 106, + 107, + 108, + 108, + 109, + 109, + 110, + 110, + 111, + 111, + 112, + 112, + 113, + 113, + 114, + 114, + 114, + 115, + 115, + 116, + 116, + 116, + 117, + 117, + 117, + 118, + 118, + 118, + 119, + 119, + 119, + 119, + 120, + 120, + 120, + 120, + 121, + 121, + 121, + 121, + 121, + 122, + 122, + 122, + 122, + 122, + 123, + 123, + 123, + 123, + 123, + 123, + 123 + ] + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_3" + ], + outputs: [ + "layer_4" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 128, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_4" + ], + outputs: [ + "TosaOutput_0" + ] + } ], - outputs: [ - "layer_0" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 127, - output_zp: -1, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "TosaInput_0" - ], - outputs: [ - "layer_1" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: -1, - output_zp: -1, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: true, - per_channel: false - }, - inputs: [ - "layer_1" - ], - outputs: [ - "layer_2" - ] - }, - { - op: "TABLE", - attribute_type: "TableAttribute", - attribute: { - table: [ - -123, - -123, - -123, - -123, - -123, - -123, - -122, - -122, - -122, - -122, - -122, - -121, - -121, - -121, - -121, - -121, - -120, - -120, - -120, - -120, - -119, - -119, - -119, - -119, - -118, - -118, - -118, - -117, - -117, - -117, - -116, - -116, - -116, - -115, - -115, - -114, - -114, - -114, - -113, - -113, - -112, - -112, - -111, - -111, - -110, - -110, - -109, - -109, - -108, - -108, - -107, - -106, - -106, - -105, - -104, - -104, - -103, - -102, - -102, - -101, - -100, - -99, - -99, - -98, - -97, - -96, - -95, - -94, - -93, - -92, - -91, - -90, - -89, - -88, - -87, - -86, - -85, - -84, - -83, - -82, - -80, - -79, - -78, - -77, - -75, - -74, - -73, - -71, - -70, - -68, - -67, - -65, - -64, - -62, - -61, - -59, - -58, - -56, - -55, - -53, - -51, - -49, - -48, - -46, - -44, - -42, - -41, - -39, - -37, - -35, - -33, - -31, - -30, - -28, - -26, - -24, - -22, - -20, - -18, - -16, - -14, - -12, - -10, - -8, - -6, - -4, - -2, - 0, - 2, - 4, - 6, - 8, - 10, - 12, - 14, - 16, - 18, - 20, - 22, - 24, - 26, - 28, - 30, - 31, - 33, - 35, - 37, - 39, - 41, - 42, - 44, - 46, - 48, - 49, - 51, - 53, - 55, - 56, - 58, - 59, - 61, - 62, - 64, - 65, - 67, - 68, - 70, - 71, - 73, - 74, - 75, - 77, - 78, - 79, - 80, - 82, - 83, - 84, - 85, - 86, - 87, - 88, - 89, - 90, - 91, - 92, - 93, - 94, - 95, - 96, - 97, - 98, - 99, - 99, - 100, - 101, - 102, - 102, - 103, - 104, - 104, - 105, - 106, - 106, - 107, - 108, - 108, - 109, - 109, - 110, - 110, - 111, - 111, - 112, - 112, - 113, - 113, - 114, - 114, - 114, - 115, - 115, - 116, - 116, - 116, - 117, - 117, - 117, - 118, - 118, - 118, - 119, - 119, - 119, - 119, - 120, - 120, - 120, - 120, - 121, - 121, - 121, - 121, - 121, - 122, - 122, - 122, - 122, - 122, - 123, - 123, - 123, - 123, - 123, - 123, - 123 - ] - }, - inputs: [ - "layer_2" - ], - outputs: [ - "layer_3" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 0, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: true, - per_channel: false - }, - inputs: [ - "layer_3" - ], - outputs: [ - "layer_4" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 128, - multiplier: [ - 1073741824 - ], - shift: [ - 30 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "layer_4" - ], - outputs: [ - "TosaOutput_0" - ] - } - ], - tensors: [ - { - name: "TosaInput_0", - shape: [ - 13, - 21, - 3 - ], - type: "UINT8", - data: [ + tensors: [ + { + name: "TosaInput_0", + shape: [ + 13, + 21, + 3 + ], + type: "UINT8", + data: [ - ] - }, - { - name: "TosaOutput_0", - shape: [ - 13, - 21, - 3 - ], - type: "UINT8", - data: [ + ] + }, + { + name: "TosaOutput_0", + shape: [ + 13, + 21, + 3 + ], + type: "UINT8", + data: [ - ] - }, - { - name: "layer_0", - shape: [ - 256 - ], - type: "INT8", - data: [ - 133, - 133, - 133, - 133, - 133, - 133, - 134, - 134, - 134, - 134, - 134, - 135, - 135, - 135, - 135, - 135, - 136, - 136, - 136, - 136, - 137, - 137, - 137, - 137, - 138, - 138, - 138, - 139, - 139, - 139, - 140, - 140, - 140, - 141, - 141, - 142, - 142, - 142, - 143, - 143, - 144, - 144, - 145, - 145, - 146, - 146, - 147, - 147, - 148, - 148, - 149, - 150, - 150, - 151, - 152, - 152, - 153, - 154, - 154, - 155, - 156, - 157, - 157, - 158, - 159, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, - 168, - 169, - 170, - 171, - 172, - 173, - 174, - 176, - 177, - 178, - 179, - 181, - 182, - 183, - 185, - 186, - 188, - 189, - 191, - 192, - 194, - 195, - 197, - 198, - 200, - 201, - 203, - 205, - 207, - 208, - 210, - 212, - 214, - 215, - 217, - 219, - 221, - 223, - 225, - 226, - 228, - 230, - 232, - 234, - 236, - 238, - 240, - 242, - 244, - 246, - 248, - 250, - 252, - 254, - 0, - 2, - 4, - 6, - 8, - 10, - 12, - 14, - 16, - 18, - 20, - 22, - 24, - 26, - 28, - 30, - 31, - 33, - 35, - 37, - 39, - 41, - 42, - 44, - 46, - 48, - 49, - 51, - 53, - 55, - 56, - 58, - 59, - 61, - 62, - 64, - 65, - 67, - 68, - 70, - 71, - 73, - 74, - 75, - 77, - 78, - 79, - 80, - 82, - 83, - 84, - 85, - 86, - 87, - 88, - 89, - 90, - 91, - 92, - 93, - 94, - 95, - 96, - 97, - 98, - 99, - 99, - 100, - 101, - 102, - 102, - 103, - 104, - 104, - 105, - 106, - 106, - 107, - 108, - 108, - 109, - 109, - 110, - 110, - 111, - 111, - 112, - 112, - 113, - 113, - 114, - 114, - 114, - 115, - 115, - 116, - 116, - 116, - 117, - 117, - 117, - 118, - 118, - 118, - 119, - 119, - 119, - 119, - 120, - 120, - 120, - 120, - 121, - 121, - 121, - 121, - 121, - 122, - 122, - 122, - 122, - 122, - 123, - 123, - 123, - 123, - 123, - 123, - 123 - ] - }, - { - name: "layer_1", - shape: [ - 13, - 21, - 3 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_0", + shape: [ + 256 + ], + type: "INT8", + data: [ + 133, + 133, + 133, + 133, + 133, + 133, + 134, + 134, + 134, + 134, + 134, + 135, + 135, + 135, + 135, + 135, + 136, + 136, + 136, + 136, + 137, + 137, + 137, + 137, + 138, + 138, + 138, + 139, + 139, + 139, + 140, + 140, + 140, + 141, + 141, + 142, + 142, + 142, + 143, + 143, + 144, + 144, + 145, + 145, + 146, + 146, + 147, + 147, + 148, + 148, + 149, + 150, + 150, + 151, + 152, + 152, + 153, + 154, + 154, + 155, + 156, + 157, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 176, + 177, + 178, + 179, + 181, + 182, + 183, + 185, + 186, + 188, + 189, + 191, + 192, + 194, + 195, + 197, + 198, + 200, + 201, + 203, + 205, + 207, + 208, + 210, + 212, + 214, + 215, + 217, + 219, + 221, + 223, + 225, + 226, + 228, + 230, + 232, + 234, + 236, + 238, + 240, + 242, + 244, + 246, + 248, + 250, + 252, + 254, + 0, + 2, + 4, + 6, + 8, + 10, + 12, + 14, + 16, + 18, + 20, + 22, + 24, + 26, + 28, + 30, + 31, + 33, + 35, + 37, + 39, + 41, + 42, + 44, + 46, + 48, + 49, + 51, + 53, + 55, + 56, + 58, + 59, + 61, + 62, + 64, + 65, + 67, + 68, + 70, + 71, + 73, + 74, + 75, + 77, + 78, + 79, + 80, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 99, + 100, + 101, + 102, + 102, + 103, + 104, + 104, + 105, + 106, + 106, + 107, + 108, + 108, + 109, + 109, + 110, + 110, + 111, + 111, + 112, + 112, + 113, + 113, + 114, + 114, + 114, + 115, + 115, + 116, + 116, + 116, + 117, + 117, + 117, + 118, + 118, + 118, + 119, + 119, + 119, + 119, + 120, + 120, + 120, + 120, + 121, + 121, + 121, + 121, + 121, + 122, + 122, + 122, + 122, + 122, + 123, + 123, + 123, + 123, + 123, + 123, + 123 + ] + }, + { + name: "layer_1", + shape: [ + 13, + 21, + 3 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_2", - shape: [ - 13, - 21, - 3 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_2", + shape: [ + 13, + 21, + 3 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_3", - shape: [ - 13, - 21, - 3 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_3", + shape: [ + 13, + 21, + 3 + ], + type: "INT8", + data: [ - ] - }, - { - name: "layer_4", - shape: [ - 13, - 21, - 3 - ], - type: "INT8", - data: [ + ] + }, + { + name: "layer_4", + shape: [ + 13, + 21, + 3 + ], + type: "INT8", + data: [ + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" ] } - ], - inputs: [ - "TosaInput_0" - ], - outputs: [ - "TosaOutput_0" ] } ] |