File size: 1,432 Bytes
97d19f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
 "model_type": "ONNX",
 "npu_mode": "NPU3",
 "target_hardware": "AX650",
 "onnx_opt": {
  "enable_onnxsim": false
 },
 "quant": {
  "input_configs": [
   {
    "tensor_name": "hidden",
    "calibration_dataset": "/data/calib/l0_conv_fused/hidden.tar",
    "calibration_format": "Numpy",
    "calibration_size": -1
   },
   {
    "tensor_name": "conv_state_in",
    "calibration_dataset": "/data/calib/l0_conv_fused/conv_state_in.tar",
    "calibration_format": "Numpy",
    "calibration_size": -1
   }
  ],
  "layer_configs": [
   {
    "start_tensor_names": [
     "DEFAULT"
    ],
    "end_tensor_names": [
     "DEFAULT"
    ],
    "data_type": "U16"
   },
   {
    "layer_names": [
     "/operator_norm/Mul",
     "/operator_norm/ReduceMean",
     "/operator_norm/Add",
     "/operator_norm/Sqrt",
     "/operator_norm/Div",
     "/operator_norm/Mul_1",
     "/ffn_norm/Mul",
     "/ffn_norm/ReduceMean",
     "/ffn_norm/Add",
     "/ffn_norm/Sqrt",
     "/ffn_norm/Div",
     "/ffn_norm/Mul_1",
     "/Add_1",
     "/Add_2"
    ],
    "data_type": "FP32"
   }
  ],
  "calibration_method": "MinMax",
  "precision_analysis": true,
  "precision_analysis_method": "EndToEnd",
  "conv_bias_data_type": "FP32",
  "enable_smooth_quant": false
 },
 "input_processors": [
  {
   "tensor_name": "hidden",
   "src_dtype": "FP32"
  },
  {
   "tensor_name": "conv_state_in",
   "src_dtype": "FP32"
  }
 ],
 "compiler": {
  "check": 0
 }
}