aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/model-tflite.json
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/model-tflite.json')
-rw-r--r--frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/model-tflite.json1208
1 files changed, 1208 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/model-tflite.json b/frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/model-tflite.json
new file mode 100644
index 000000000..69841ffde
--- /dev/null
+++ b/frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/model-tflite.json
@@ -0,0 +1,1208 @@
+{
+ version: 3,
+ operator_codes: [
+ {
+ deprecated_builtin_code: 22,
+ version: 1,
+ builtin_code: "RESHAPE"
+ },
+ {
+ deprecated_builtin_code: 49,
+ version: 2,
+ builtin_code: "SPLIT"
+ },
+ {
+ deprecated_builtin_code: 39,
+ version: 2,
+ builtin_code: "TRANSPOSE"
+ },
+ {
+ deprecated_builtin_code: 9,
+ version: 4,
+ builtin_code: "FULLY_CONNECTED"
+ },
+ {
+ deprecated_builtin_code: 83,
+ version: 2,
+ builtin_code: "PACK"
+ }
+ ],
+ subgraphs: [
+ {
+ tensors: [
+ {
+ shape: [
+ 1,
+ 4,
+ 4,
+ 4
+ ],
+ type: "INT8",
+ buffer: 1,
+ name: "serving_default_placeholder_0:0",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 2,
+ name: "serving_default_placeholder_1:0",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 3
+ ],
+ type: "INT32",
+ buffer: 3,
+ name: "result2",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+
+ ],
+ type: "INT32",
+ buffer: 4,
+ name: "result",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 3
+ ],
+ type: "INT32",
+ buffer: 5,
+ name: "result3",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 2
+ ],
+ type: "INT32",
+ buffer: 6,
+ name: "result4",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 2
+ ],
+ type: "INT32",
+ buffer: 7,
+ name: "result1",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4
+ ],
+ type: "INT32",
+ buffer: 8,
+ name: "result6",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 4,
+ 4
+ ],
+ type: "INT8",
+ buffer: 9,
+ name: "result7",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 4
+ ],
+ type: "INT8",
+ buffer: 10,
+ name: "result8;result9;result10;result11",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 4
+ ],
+ type: "INT8",
+ buffer: 11,
+ name: "result8;result9;result10;result111",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 4
+ ],
+ type: "INT8",
+ buffer: 12,
+ name: "result8;result9;result10;result112",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 4
+ ],
+ type: "INT8",
+ buffer: 13,
+ name: "result8;result9;result10;result113",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 14,
+ name: "result12",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 15,
+ name: "result13;result14;result15;result16",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 16,
+ name: "result13;result14;result15;result161",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 17,
+ name: "result13;result14;result15;result162",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 18,
+ name: "result13;result14;result15;result163",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 19,
+ name: "result17",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 20,
+ name: "result18",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 21,
+ name: "result19",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 22,
+ name: "result20",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 8,
+ 4
+ ],
+ type: "INT8",
+ buffer: 23,
+ name: "result21",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 24,
+ name: "result22",
+ quantization: {
+ scale: [
+ 0.07924
+ ],
+ zero_point: [
+ 9
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 8,
+ 4
+ ],
+ type: "INT8",
+ buffer: 25,
+ name: "result23",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 26,
+ name: "result24",
+ quantization: {
+ scale: [
+ 0.07924
+ ],
+ zero_point: [
+ 9
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 8,
+ 4
+ ],
+ type: "INT8",
+ buffer: 27,
+ name: "result25",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 28,
+ name: "result26",
+ quantization: {
+ scale: [
+ 0.07924
+ ],
+ zero_point: [
+ 9
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 8,
+ 4
+ ],
+ type: "INT8",
+ buffer: 29,
+ name: "result27",
+ quantization: {
+ scale: [
+ 0.015685
+ ],
+ zero_point: [
+ -1
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 30,
+ name: "result28",
+ quantization: {
+ scale: [
+ 0.07924
+ ],
+ zero_point: [
+ 9
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 4,
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 31,
+ name: "result29",
+ quantization: {
+ scale: [
+ 0.07924
+ ],
+ zero_point: [
+ 9
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 4,
+ 8
+ ],
+ type: "INT8",
+ buffer: 32,
+ name: "PartitionedCall:0",
+ quantization: {
+ scale: [
+ 0.07924
+ ],
+ zero_point: [
+ 9
+ ],
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ }
+ ],
+ inputs: [
+ 0,
+ 1
+ ],
+ outputs: [
+ 31
+ ],
+ operators: [
+ {
+ opcode_index: 0,
+ inputs: [
+ 0,
+ 2
+ ],
+ outputs: [
+ 8
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 1,
+ inputs: [
+ 3,
+ 8
+ ],
+ outputs: [
+ 9,
+ 10,
+ 11,
+ 12
+ ],
+ builtin_options_type: "SplitOptions",
+ builtin_options: {
+ num_splits: 4
+ },
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 0,
+ inputs: [
+ 1,
+ 4
+ ],
+ outputs: [
+ 13
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 1,
+ inputs: [
+ 3,
+ 13
+ ],
+ outputs: [
+ 14,
+ 15,
+ 16,
+ 17
+ ],
+ builtin_options_type: "SplitOptions",
+ builtin_options: {
+ num_splits: 4
+ },
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 0,
+ inputs: [
+ 14,
+ 5
+ ],
+ outputs: [
+ 18
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 0,
+ inputs: [
+ 15,
+ 5
+ ],
+ outputs: [
+ 19
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 0,
+ inputs: [
+ 16,
+ 5
+ ],
+ outputs: [
+ 20
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 0,
+ inputs: [
+ 17,
+ 5
+ ],
+ outputs: [
+ 21
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 2,
+ inputs: [
+ 18,
+ 6
+ ],
+ outputs: [
+ 22
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 3,
+ inputs: [
+ 9,
+ 22,
+ -1
+ ],
+ outputs: [
+ 23
+ ],
+ builtin_options_type: "FullyConnectedOptions",
+ builtin_options: {
+ fused_activation_function: "NONE",
+ weights_format: "DEFAULT",
+ keep_num_dims: false,
+ asymmetric_quantize_inputs: false
+ },
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 2,
+ inputs: [
+ 19,
+ 6
+ ],
+ outputs: [
+ 24
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 3,
+ inputs: [
+ 10,
+ 24,
+ -1
+ ],
+ outputs: [
+ 25
+ ],
+ builtin_options_type: "FullyConnectedOptions",
+ builtin_options: {
+ fused_activation_function: "NONE",
+ weights_format: "DEFAULT",
+ keep_num_dims: false,
+ asymmetric_quantize_inputs: false
+ },
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 2,
+ inputs: [
+ 20,
+ 6
+ ],
+ outputs: [
+ 26
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 3,
+ inputs: [
+ 11,
+ 26,
+ -1
+ ],
+ outputs: [
+ 27
+ ],
+ builtin_options_type: "FullyConnectedOptions",
+ builtin_options: {
+ fused_activation_function: "NONE",
+ weights_format: "DEFAULT",
+ keep_num_dims: false,
+ asymmetric_quantize_inputs: false
+ },
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 2,
+ inputs: [
+ 21,
+ 6
+ ],
+ outputs: [
+ 28
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 3,
+ inputs: [
+ 12,
+ 28,
+ -1
+ ],
+ outputs: [
+ 29
+ ],
+ builtin_options_type: "FullyConnectedOptions",
+ builtin_options: {
+ fused_activation_function: "NONE",
+ weights_format: "DEFAULT",
+ keep_num_dims: false,
+ asymmetric_quantize_inputs: false
+ },
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 4,
+ inputs: [
+ 23,
+ 25,
+ 27,
+ 29
+ ],
+ outputs: [
+ 30
+ ],
+ builtin_options_type: "PackOptions",
+ builtin_options: {
+ values_count: 4,
+ axis: 0
+ },
+ custom_options_format: "FLEXBUFFERS"
+ },
+ {
+ opcode_index: 0,
+ inputs: [
+ 30,
+ 7
+ ],
+ outputs: [
+ 31
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ }
+ ],
+ name: "main"
+ }
+ ],
+ description: "MLIR Converted.",
+ buffers: [
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ data: [
+ 4,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ data: [
+ 0,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ data: [
+ 4,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0,
+ 8,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ data: [
+ 4,
+ 0,
+ 0,
+ 0,
+ 8,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ data: [
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ data: [
+ 1,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0,
+ 8,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+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