Browse Source

Update quant.md

Jason 5 years ago
parent
commit
51da299485
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/slim/quant.md

+ 2 - 0
docs/slim/quant.md

@@ -19,6 +19,8 @@ dataset = pdx.datasets.ImageNet(
 
 # 开始量化
 pdx.slim.export_quant_model(model, dataset, 
+			  batch_size=4,
+			  batch_num=5,
 	                  save_dir='./quant_mobilenet', 
 	                  cache_dir='./tmp')
 ```