From d098aea61953380fa8184d43c6cc613142323417 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Wed, 21 Sep 2022 11:28:05 +0100 Subject: Regen TF Lite example tests for TF update Signed-off-by: Jeremy Johnson Change-Id: I412b2dea6c0932ffa0f66c29e7dcbc1c3c1ad6be --- .../fully_connected_13x21x3_qu8/model-tflite.json | 54 +++++++++++----------- .../test_matmul_13x21x3_qu8.json | 50 ++++++++++---------- 2 files changed, 52 insertions(+), 52 deletions(-) (limited to 'frameworks/tflite/operators/fully_connected_13x21x3_qu8') diff --git a/frameworks/tflite/operators/fully_connected_13x21x3_qu8/model-tflite.json b/frameworks/tflite/operators/fully_connected_13x21x3_qu8/model-tflite.json index 6f816ed9d..fd3fd38a3 100644 --- a/frameworks/tflite/operators/fully_connected_13x21x3_qu8/model-tflite.json +++ b/frameworks/tflite/operators/fully_connected_13x21x3_qu8/model-tflite.json @@ -79,11 +79,11 @@ }, { shape: [ - + 2 ], type: "INT32", buffer: 3, - name: "result", + name: "result3", quantization: { details_type: "NONE", quantized_dimension: 0 @@ -96,7 +96,7 @@ ], type: "INT32", buffer: 4, - name: "result2", + name: "result1", quantization: { details_type: "NONE", quantized_dimension: 0 @@ -105,11 +105,11 @@ }, { shape: [ - 2 + ], type: "INT32", buffer: 5, - name: "result1", + name: "result2", quantization: { details_type: "NONE", quantized_dimension: 0 @@ -1560,7 +1560,7 @@ { opcode_index: 1, inputs: [ - 2, + 4, 5 ], outputs: [ @@ -1587,7 +1587,7 @@ { opcode_index: 1, inputs: [ - 2, + 4, 6 ], outputs: [ @@ -1771,7 +1771,7 @@ opcode_index: 3, inputs: [ 33, - 4 + 2 ], outputs: [ 46 @@ -1802,7 +1802,7 @@ opcode_index: 3, inputs: [ 34, - 4 + 2 ], outputs: [ 48 @@ -1833,7 +1833,7 @@ opcode_index: 3, inputs: [ 35, - 4 + 2 ], outputs: [ 50 @@ -1864,7 +1864,7 @@ opcode_index: 3, inputs: [ 36, - 4 + 2 ], outputs: [ 52 @@ -1895,7 +1895,7 @@ opcode_index: 3, inputs: [ 37, - 4 + 2 ], outputs: [ 54 @@ -1926,7 +1926,7 @@ opcode_index: 3, inputs: [ 38, - 4 + 2 ], outputs: [ 56 @@ -1957,7 +1957,7 @@ opcode_index: 3, inputs: [ 39, - 4 + 2 ], outputs: [ 58 @@ -1988,7 +1988,7 @@ opcode_index: 3, inputs: [ 40, - 4 + 2 ], outputs: [ 60 @@ -2019,7 +2019,7 @@ opcode_index: 3, inputs: [ 41, - 4 + 2 ], outputs: [ 62 @@ -2050,7 +2050,7 @@ opcode_index: 3, inputs: [ 42, - 4 + 2 ], outputs: [ 64 @@ -2081,7 +2081,7 @@ opcode_index: 3, inputs: [ 43, - 4 + 2 ], outputs: [ 66 @@ -2112,7 +2112,7 @@ opcode_index: 3, inputs: [ 44, - 4 + 2 ], outputs: [ 68 @@ -2143,7 +2143,7 @@ opcode_index: 3, inputs: [ 45, - 4 + 2 ], outputs: [ 70 @@ -2222,6 +2222,10 @@ }, { data: [ + 1, + 0, + 0, + 0, 0, 0, 0, @@ -2242,10 +2246,6 @@ }, { data: [ - 1, - 0, - 0, - 0, 0, 0, 0, @@ -2488,17 +2488,17 @@ 0, 0, 0, - 5, + 6, 0, 0, 0, 50, 46, - 57, + 49, + 49, 46, 48, 0, - 0, 0 ] } diff --git a/frameworks/tflite/operators/fully_connected_13x21x3_qu8/test_matmul_13x21x3_qu8.json b/frameworks/tflite/operators/fully_connected_13x21x3_qu8/test_matmul_13x21x3_qu8.json index 23bbbaa92..4798be049 100644 --- a/frameworks/tflite/operators/fully_connected_13x21x3_qu8/test_matmul_13x21x3_qu8.json +++ b/frameworks/tflite/operators/fully_connected_13x21x3_qu8/test_matmul_13x21x3_qu8.json @@ -943,7 +943,7 @@ inputs: [ "layer_46", "layer_45", - "layer_1" + "layer_0" ], outputs: [ "layer_47" @@ -1014,7 +1014,7 @@ inputs: [ "layer_50", "layer_49", - "layer_1" + "layer_0" ], outputs: [ "layer_51" @@ -1085,7 +1085,7 @@ inputs: [ "layer_54", "layer_53", - "layer_1" + "layer_0" ], outputs: [ "layer_55" @@ -1156,7 +1156,7 @@ inputs: [ "layer_58", "layer_57", - "layer_1" + "layer_0" ], outputs: [ "layer_59" @@ -1227,7 +1227,7 @@ inputs: [ "layer_62", "layer_61", - "layer_1" + "layer_0" ], outputs: [ "layer_63" @@ -1298,7 +1298,7 @@ inputs: [ "layer_66", "layer_65", - "layer_1" + "layer_0" ], outputs: [ "layer_67" @@ -1369,7 +1369,7 @@ inputs: [ "layer_70", "layer_69", - "layer_1" + "layer_0" ], outputs: [ "layer_71" @@ -1440,7 +1440,7 @@ inputs: [ "layer_74", "layer_73", - "layer_1" + "layer_0" ], outputs: [ "layer_75" @@ -1511,7 +1511,7 @@ inputs: [ "layer_78", "layer_77", - "layer_1" + "layer_0" ], outputs: [ "layer_79" @@ -1582,7 +1582,7 @@ inputs: [ "layer_82", "layer_81", - "layer_1" + "layer_0" ], outputs: [ "layer_83" @@ -1653,7 +1653,7 @@ inputs: [ "layer_86", "layer_85", - "layer_1" + "layer_0" ], outputs: [ "layer_87" @@ -1724,7 +1724,7 @@ inputs: [ "layer_90", "layer_89", - "layer_1" + "layer_0" ], outputs: [ "layer_91" @@ -1795,7 +1795,7 @@ inputs: [ "layer_94", "layer_93", - "layer_1" + "layer_0" ], outputs: [ "layer_95" @@ -1953,27 +1953,16 @@ { name: "layer_0", shape: [ - 2 + 42 ], type: "INT32", data: [ - 1, 0, 0, 0, 0, 0, 0, - 0 - ] - }, - { - name: "layer_1", - shape: [ - 42 - ], - type: "INT32", - data: [ 0, 0, 0, @@ -2135,6 +2124,17 @@ 0, 0, 0, + 0 + ] + }, + { + name: "layer_1", + shape: [ + 2 + ], + type: "INT32", + data: [ + 1, 0, 0, 0, -- cgit v1.2.1