Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleSlim
提交
e904a37c
P
PaddleSlim
项目概览
PaddlePaddle
/
PaddleSlim
大约 2 年 前同步成功
通知
51
Star
1434
Fork
344
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
53
列表
看板
标记
里程碑
合并请求
16
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleSlim
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
53
Issue
53
列表
看板
标记
里程碑
合并请求
16
合并请求
16
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e904a37c
编写于
11月 21, 2019
作者:
S
slf12
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update quant_post api doc
上级
cb99e549
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
4 addition
and
5 deletion
+4
-5
paddleslim/quant/quanter.py
paddleslim/quant/quanter.py
+4
-5
未找到文件。
paddleslim/quant/quanter.py
浏览文件 @
e904a37c
...
@@ -214,15 +214,14 @@ def quant_post(executor,
...
@@ -214,15 +214,14 @@ def quant_post(executor,
fluid.io.save_inference_model.
fluid.io.save_inference_model.
sample_generator(Python Generator): The sample generator provides
sample_generator(Python Generator): The sample generator provides
calibrate data for DataLoader, and it only returns a sample every time.
calibrate data for DataLoader, and it only returns a sample every time.
model_filename(str, optional): The name of model file to load the inference
model_filename(str, optional): The name of model file. If parameters
program. If parameters are saved in separate files,
are saved in separate files, set it as 'None'. Default is 'None'.
set it as 'None'. Default is 'None'.
params_filename(str, optional): The name of params file.
params_filename(str, optional): The name of params file to load all parameters.
When all parameters are saved in a single file, set it
When all parameters are saved in a single file, set it
as filename. If parameters are saved in separate files,
as filename. If parameters are saved in separate files,
set it as 'None'. Default is 'None'.
set it as 'None'. Default is 'None'.
batch_size(int, optional): The batch size of DataLoader, default is 16.
batch_size(int, optional): The batch size of DataLoader, default is 16.
batch_nums(int, optional): If
set batch_nums
, the number of calibrate
batch_nums(int, optional): If
batch_nums is not None
, the number of calibrate
data is 'batch_size*batch_nums'. If batch_nums is None, use all data
data is 'batch_size*batch_nums'. If batch_nums is None, use all data
generated by sample_generator as calibrate data.
generated by sample_generator as calibrate data.
scope(fluid.Scope, optional): The scope to run program, use it to load
scope(fluid.Scope, optional): The scope to run program, use it to load
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录