| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- {
- "version": 3,
- "operator_codes": [
- {
- "deprecated_builtin_code": 9,
- "version": 4,
- "builtin_code": "FULLY_CONNECTED"
- }
- ],
- "subgraphs": [
- {
- "tensors": [
- {
- "shape": [
- batches,
- input_size
- ],
- "type": "INT8",
- "buffer": 0,
- "name" : "tensor_input",
- "quantization": {
- "scale": [
- input_scale
- ],
- "zero_point": [
- input_zp
- ],
- "quantized_dimension": 0
- },
- "is_variable": false,
- "has_rank": true
- },
- {
- "shape": [
- output_size,
- input_size
- ],
- "type": "w_type",
- "buffer": 1,
- "name" : "tensor_weight",
- "quantization": {
- "scale": [
- w_scale
- ],
- "zero_point": [
- w_zp
- ],
- "details_type": "NONE",
- "quantized_dimension": 0
- },
- "is_variable": false,
- "has_rank": true
- },
- {
- "shape": [
- output_size
- ],
- "type": "INT32",
- "buffer": 2,
- "name": "tensor_weight",
- "quantization": {
- "scale": [
- bias_scale
- ],
- "zero_point": [
- bias_zp
- ],
- "details_type": "NONE",
- "quantized_dimension": 0
- },
- "is_variable": false
- },
- {
- "shape": [
- batches,
- output_size
- ],
- "type": "INT8",
- "buffer": 3,
- "name": "tensor_output",
- "quantization": {
- "scale": [
- output_scale
- ],
- "zero_point": [
- output_zp
- ],
- "details_type": "NONE",
- "quantized_dimension": 0
- },
- "is_variable": false
- }
- ],
- "inputs": [
- 0
- ],
- "outputs": [
- 3
- ],
- "operators": [
- {
- "opcode_index": 0,
- "inputs": [
- 0,
- 1,
- 2
- ],
- "outputs": [
- 3
- ],
- "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"
- }
- ]
- }
- ],
- "buffers": [
- {},
- {
- "data": []
- },
- {
- "data": []
- },
- {}
- ]
- }
|