blob: 5d344644932b0255c52c82163c9ad790f58d873e [file] [log] [blame]
{
version: 3,
operator_codes: [
{
deprecated_builtin_code: 114,
version: 1,
builtin_code: "QUANTIZE"
},
{
deprecated_builtin_code: 4,
version: 3,
builtin_code: "DEPTHWISE_CONV_2D"
}
],
subgraphs: [
{
tensors: [
{
shape: [
1,
32,
32,
8
],
type: "UINT8",
buffer: 1,
name: "serving_default_placeholder_0:0",
quantization: {
scale: [
0.015686
],
zero_point: [
127
],
details_type: "NONE",
quantized_dimension: 0
},
is_variable: false
},
{
shape: [
16
],
type: "INT32",
buffer: 2,
name: "result/bias",
quantization: {
scale: [
0.000176,
0.000226,
0.000239,
0.00022,
0.000246,
0.000247,
0.000229,
0.000247,
0.000236,
0.000201,
0.000228,
0.000237,
0.000245,
0.000231,
0.000222,
0.000236
],
zero_point: [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
details_type: "NONE",
quantized_dimension: 0
},
is_variable: false
},
{
shape: [
1,
3,
3,
16
],
type: "INT8",
buffer: 3,
name: "dws_conv2d",
quantization: {
scale: [
0.011195,
0.014403,
0.015249,
0.014032,
0.015675,
0.015741,
0.014601,
0.015729,
0.015027,
0.012815,
0.014558,
0.015136,
0.015599,
0.014721,
0.014183,
0.015035
],
zero_point: [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
details_type: "NONE",
quantized_dimension: 3
},
is_variable: false
},
{
shape: [
1,
32,
32,
8
],
type: "INT8",
buffer: 4,
name: "tfl.quantize",
quantization: {
scale: [
0.015686
],
zero_point: [
-1
],
details_type: "NONE",
quantized_dimension: 0
},
is_variable: false
},
{
shape: [
1,
28,
28,
16
],
type: "INT8",
buffer: 5,
name: "PartitionedCall:01",
quantization: {
scale: [
0.149707
],
zero_point: [
9
],
details_type: "NONE",
quantized_dimension: 0
},
is_variable: false
},
{
shape: [
1,
28,
28,
16
],
type: "UINT8",
buffer: 6,
name: "PartitionedCall:0",
quantization: {
scale: [
0.149707
],
zero_point: [
137
],
details_type: "NONE",
quantized_dimension: 0
},
is_variable: false
}
],
inputs: [
0
],
outputs: [
5
],
operators: [
{
opcode_index: 0,
inputs: [
0
],
outputs: [
3
],
builtin_options_type: "NONE",
custom_options_format: "FLEXBUFFERS"
},
{
opcode_index: 1,
inputs: [
3,
2,
1
],
outputs: [
4
],
builtin_options_type: "DepthwiseConv2DOptions",
builtin_options: {
padding: "VALID",
stride_w: 1,
stride_h: 1,
depth_multiplier: 2,
fused_activation_function: "NONE",
dilation_w_factor: 2,
dilation_h_factor: 2
},
custom_options_format: "FLEXBUFFERS"
},
{
opcode_index: 0,
inputs: [
4
],
outputs: [
5
],
builtin_options_type: "NONE",
custom_options_format: "FLEXBUFFERS"
}
],
name: "main"
}
],
description: "MLIR Converted.",
buffers: [
{
},
{
},
{
data: [
115,
0,
0,
0,
65,
240,
255,
255,
71,
231,
255,
255,
240,
28,
0,
0,
245,
240,
255,
255,
255,
1,
0,
0,
209,
23,
0,
0,
252,
249,
255,
255,
138,
14,
0,
0,
244,
237,
255,
255,
184,
226,
255,
255,
17,
237,
255,
255,
70,
233,
255,
255,
241,
242,
255,
255,
177,
253,
255,
255,
226,
242,
255,
255
]
},
{
data: [
31,
142,
193,
180,
41,
87,
184,
117,
50,
130,
138,
103,
187,
152,
46,
31,
206,
138,
198,
129,
217,
60,
4,
241,
212,
56,
203,
127,
41,
94,
176,
129,
207,
46,
158,
124,
202,
125,
224,
90,
164,
202,
220,
184,
195,
129,
155,
50,
127,
7,
22,
106,
51,
174,
127,
61,
86,
123,
246,
101,
121,
203,
136,
36,
32,
212,
23,
183,
62,
162,
233,
129,
47,
189,
151,
25,
169,
147,
112,
65,
160,
101,
88,
27,
144,
233,
94,
122,
8,
250,
117,
203,
221,
107,
129,
239,
60,
127,
127,
40,
202,
231,
59,
64,
213,
25,
27,
14,
127,
116,
202,
38,
58,
238,
84,
0,
127,
52,
232,
227,
127,
127,
21,
36,
167,
8,
86,
228,
3,
58,
47,
5,
83,
127,
251,
29,
180,
104,
127,
171,
175,
138,
8,
211
]
},
{
},
{
},
{
},
{
data: [
49,
46,
49,
52,
46,
48,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
data: [
12,
0,
0,
0,
8,
0,
14,
0,
8,
0,
4,
0,
8,
0,
0,
0,
16,
0,
0,
0,
40,
0,
0,
0,
0,
0,
6,
0,
8,
0,
4,
0,
6,
0,
0,
0,
4,
0,
0,
0,
1,
0,
0,
0,
235,
3,
0,
0,
0,
0,
10,
0,
16,
0,
12,
0,
8,
0,
4,
0,
10,
0,
0,
0,
3,
0,
0,
0,
2,
0,
0,
0,
4,
0,
0,
0,
6,
0,
0,
0,
50,
46,
49,
50,
46,
48,
0,
0
]
}
],
metadata: [
{
name: "min_runtime_version",
buffer: 7
},
{
name: "CONVERSION_METADATA",
buffer: 8
}
],
signature_defs: [
{
inputs: [
{
name: "placeholder_0",
tensor_index: 0
}
],
outputs: [
{
name: "output_0",
tensor_index: 5
}
],
method_name: "serving_default",
subgraph_index: 0
}
]
}