Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
2c10ca64
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
2c10ca64
编写于
6月 07, 2021
作者:
C
cc
提交者:
GitHub
6月 07, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add op def for quant ops (#33351)
上级
d46b4086
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
299 addition
and
0 deletion
+299
-0
paddle/fluid/operators/compat/fake_channel_wise_quantize_abs_max.pbtxt
...operators/compat/fake_channel_wise_quantize_abs_max.pbtxt
+46
-0
paddle/fluid/operators/compat/fake_dequantize_max_abs.pbtxt
paddle/fluid/operators/compat/fake_dequantize_max_abs.pbtxt
+38
-0
paddle/fluid/operators/compat/fake_quantize_abs_max.pbtxt
paddle/fluid/operators/compat/fake_quantize_abs_max.pbtxt
+38
-0
paddle/fluid/operators/compat/fake_quantize_moving_average_abs_max.pbtxt
...erators/compat/fake_quantize_moving_average_abs_max.pbtxt
+61
-0
paddle/fluid/operators/compat/fake_quantize_range_abs_max.pbtxt
.../fluid/operators/compat/fake_quantize_range_abs_max.pbtxt
+55
-0
paddle/fluid/operators/compat/fill_constant.pbtxt
paddle/fluid/operators/compat/fill_constant.pbtxt
+61
-0
未找到文件。
paddle/fluid/operators/compat/fake_channel_wise_quantize_abs_max.pbtxt
0 → 100644
浏览文件 @
2c10ca64
type: "fake_channel_wise_quantize_abs_max"
def {
inputs {
name: "X"
}
outputs {
name: "Out"
}
outputs {
name: "OutScale"
}
attrs {
name: "quant_axis"
type: INT
}
attrs {
name: "bit_length"
type: INT
}
}
extra {
attrs {
name: "is_test"
type: BOOLEAN
}
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
paddle/fluid/operators/compat/fake_dequantize_max_abs.pbtxt
0 → 100644
浏览文件 @
2c10ca64
type: "fake_dequantize_max_abs"
def {
inputs {
name: "X"
}
inputs {
name: "Scale"
}
outputs {
name: "Out"
}
attrs {
name: "max_range"
type: FLOAT
}
}
extra {
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
paddle/fluid/operators/compat/fake_quantize_abs_max.pbtxt
0 → 100644
浏览文件 @
2c10ca64
type: "fake_quantize_abs_max"
def {
inputs {
name: "X"
}
outputs {
name: "Out"
}
outputs {
name: "OutScale"
}
attrs {
name: "bit_length"
type: INT
}
}
extra {
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
paddle/fluid/operators/compat/fake_quantize_moving_average_abs_max.pbtxt
0 → 100644
浏览文件 @
2c10ca64
type: "fake_quantize_moving_average_abs_max"
def {
inputs {
name: "X"
}
inputs {
name: "InScale"
}
inputs {
name: "InAccum"
}
inputs {
name: "InState"
}
outputs {
name: "Out"
}
outputs {
name: "OutScale"
}
outputs {
name: "OutState"
}
outputs {
name: "OutAccum"
}
attrs {
name: "moving_rate"
type: FLOAT
}
attrs {
name: "bit_length"
type: INT
}
}
extra {
attrs {
name: "is_test"
type: BOOLEAN
}
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
paddle/fluid/operators/compat/fake_quantize_range_abs_max.pbtxt
0 → 100644
浏览文件 @
2c10ca64
type: "fake_quantize_range_abs_max"
def {
inputs {
name: "X"
}
inputs {
name: "InScale"
}
inputs {
name: "Iter"
}
outputs {
name: "Out"
}
outputs {
name: "OutScale"
}
outputs {
name: "OutScales"
}
attrs {
name: "window_size"
type: INT
}
attrs {
name: "bit_length"
type: INT
}
}
extra {
attrs {
name: "is_test"
type: BOOLEAN
}
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
paddle/fluid/operators/compat/fill_constant.pbtxt
0 → 100644
浏览文件 @
2c10ca64
type: "fill_constant"
def {
inputs {
name: "ValueTensor"
}
inputs {
name: "ShapeTensor"
}
inputs {
name: "ShapeTensorList"
}
outputs {
name: "Out"
}
attrs {
name: "dtype"
type: INT
}
attrs {
name: "shape"
type: LONGS
}
attrs {
name: "value"
type: FLOAT
}
attrs {
name: "str_value"
type: STRING
}
}
extra {
attrs {
name: "force_cpu"
type: BOOLEAN
}
attrs {
name: "place_type"
type: INT
}
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录