Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
迷途归一
Paddle
提交
83f61bd5
P
Paddle
项目概览
迷途归一
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
83f61bd5
编写于
3月 01, 2023
作者:
C
cyber-pioneer
提交者:
GitHub
3月 01, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add op map (#51026)
上级
1054b23e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
44 addition
and
7 deletion
+44
-7
paddle/phi/api/yaml/legacy_ops.yaml
paddle/phi/api/yaml/legacy_ops.yaml
+2
-2
paddle/phi/api/yaml/op_compat.yaml
paddle/phi/api/yaml/op_compat.yaml
+42
-5
未找到文件。
paddle/phi/api/yaml/legacy_ops.yaml
浏览文件 @
83f61bd5
...
...
@@ -597,7 +597,7 @@
-
op
:
expand_as
args
:
(Tensor x, Tensor y, int[] target_shape)
output
:
Tensor
output
:
Tensor
(out)
infer_meta
:
func
:
ExpandAsInferMeta
kernel
:
...
...
@@ -810,7 +810,7 @@
-
op
:
hardswish
args
:
(Tensor x)
output
:
Tensor
output
:
Tensor
(out)
infer_meta
:
func
:
UnchangedInferMeta
param
:
[
x
]
...
...
paddle/phi/api/yaml/op_compat.yaml
浏览文件 @
83f61bd5
...
...
@@ -573,6 +573,13 @@
extra
:
attrs
:
[
bool use_mkldnn = false
,
str mkldnn_data_type = "float32"
]
-
op
:
expand_as (expand_as_v2)
inputs
:
x
:
X
y
:
Y
outputs
:
out
:
Out
-
op
:
expm1
backward
:
expm1_grad
inputs
:
...
...
@@ -763,6 +770,16 @@
extra
:
attrs
:
[
bool use_cudnn = true
]
-
op
:
group_norm
inputs
:
x
:
X
scale
:
Scale
bias
:
Bias
outputs
:
y
:
Y
mean
:
Mean
variance
:
Variance
-
op
:
gru
backward
:
gru_grad
extra
:
...
...
@@ -774,11 +791,6 @@
outputs
:
out
:
Out
-
op
:
hard_swish
backward
:
hard_swish_grad
extra
:
attrs
:
[
bool use_mkldnn = false
]
-
op
:
hardshrink (hard_shrink)
backward
:
hardshrink_grad (hard_shrink_grad)
inputs
:
...
...
@@ -793,6 +805,15 @@
outputs
:
out
:
Out
-
op
:
hardswish (hard_swish)
inputs
:
x
:
X
outputs
:
out
:
Out
backward
:
hard_swish_grad
extra
:
attrs
:
[
bool use_mkldnn = false
]
-
op
:
hardtanh (brelu)
backward
:
hardtanh_grad (brelu_grad)
inputs
:
...
...
@@ -838,6 +859,16 @@
extra
:
attrs
:
[
bool use_mkldnn = false
,
bool fuse_with_relu = false
]
-
op
:
instance_norm
inputs
:
x
:
X
scale
:
Scale
bias
:
Bias
outputs
:
y
:
Y
saved_mean
:
SavedMean
saved_variance
:
SavedVariance
-
op
:
inverse
inputs
:
x
:
Input
...
...
@@ -1184,6 +1215,12 @@
outputs
:
{
out
:
Out
,
total_weight
:
Total_weight
}
-
op
:
nonzero (where_index)
inputs
:
condition
:
Condition
outputs
:
out
:
Out
-
op
:
not_equal
inputs
:
{
x
:
X
,
y
:
Y
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录