Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
2f42cb7f
P
Paddle
项目概览
PaddlePaddle
/
Paddle
1 年多 前同步成功
通知
2302
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
2f42cb7f
编写于
5月 19, 2023
作者:
G
Galaxy1458
提交者:
GitHub
5月 19, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test,test=develop (#53945)
上级
b922e711
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
80 addition
and
62 deletion
+80
-62
paddle/phi/ops/compat/activation_sig.cc
paddle/phi/ops/compat/activation_sig.cc
+11
-6
paddle/phi/ops/compat/batch_norm_sig.cc
paddle/phi/ops/compat/batch_norm_sig.cc
+2
-2
paddle/phi/ops/compat/bincount_sig.cc
paddle/phi/ops/compat/bincount_sig.cc
+2
-1
paddle/phi/ops/compat/cast_sig.cc
paddle/phi/ops/compat/cast_sig.cc
+2
-1
paddle/phi/ops/compat/channel_shuffle_sig.cc
paddle/phi/ops/compat/channel_shuffle_sig.cc
+1
-1
paddle/phi/ops/compat/conv2d_sig.cc
paddle/phi/ops/compat/conv2d_sig.cc
+7
-4
paddle/phi/ops/compat/conv3d_sig.cc
paddle/phi/ops/compat/conv3d_sig.cc
+5
-3
paddle/phi/ops/compat/conv_fusion_sig.cc
paddle/phi/ops/compat/conv_fusion_sig.cc
+2
-1
paddle/phi/ops/compat/conv_transpose_sig.cc
paddle/phi/ops/compat/conv_transpose_sig.cc
+7
-7
paddle/phi/ops/compat/cumsum_sig.cc
paddle/phi/ops/compat/cumsum_sig.cc
+2
-1
paddle/phi/ops/compat/deformable_conv_sig.cc
paddle/phi/ops/compat/deformable_conv_sig.cc
+2
-2
paddle/phi/ops/compat/depthwise_conv2d_sig.cc
paddle/phi/ops/compat/depthwise_conv2d_sig.cc
+3
-3
paddle/phi/ops/compat/distribute_fpn_proposals_sig.cc
paddle/phi/ops/compat/distribute_fpn_proposals_sig.cc
+1
-1
paddle/phi/ops/compat/dropout_sig.cc
paddle/phi/ops/compat/dropout_sig.cc
+6
-4
paddle/phi/ops/compat/einsum_sig.cc
paddle/phi/ops/compat/einsum_sig.cc
+4
-2
paddle/phi/ops/compat/elementwise_sig.cc
paddle/phi/ops/compat/elementwise_sig.cc
+21
-21
paddle/phi/ops/compat/exponential_sig.cc
paddle/phi/ops/compat/exponential_sig.cc
+1
-1
paddle/phi/ops/compat/fill_any_like_sig.cc
paddle/phi/ops/compat/fill_any_like_sig.cc
+1
-1
未找到文件。
paddle/phi/ops/compat/activation_sig.cc
浏览文件 @
2f42cb7f
...
@@ -42,28 +42,33 @@ namespace phi {
...
@@ -42,28 +42,33 @@ namespace phi {
DEFINE_ACT_GRAD_DEPX_OP_ARGMAP
(
HardTanh
,
"hardtanh"
,
"t_min"
comma
"t_max"
);
DEFINE_ACT_GRAD_DEPX_OP_ARGMAP
(
HardTanh
,
"hardtanh"
,
"t_min"
comma
"t_max"
);
DEFINE_ACT_GRAD_DEPX_OP_ARGMAP
(
Mish
,
"mish"
,
"threshold"
);
DEFINE_ACT_GRAD_DEPX_OP_ARGMAP
(
Mish
,
"mish"
,
"threshold"
);
KernelSignature
SwishGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
SwishGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"swish_grad"
,
{
"X"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
});
return
KernelSignature
(
"swish_grad"
,
{
"X"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
});
}
}
KernelSignature
Relu6GradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
Relu6GradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"relu6_grad"
,
{
"Out"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
});
return
KernelSignature
(
"relu6_grad"
,
{
"Out"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
});
}
}
KernelSignature
HardSwishGradOpArgumentMapping
(
KernelSignature
HardSwishGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"hardswish_grad"
,
{
"X"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
});
return
KernelSignature
(
"hardswish_grad"
,
{
"X"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
});
}
}
KernelSignature
HardSwishOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
HardSwishOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"hardswish"
,
{
"X"
},
{},
{
"Out"
});
return
KernelSignature
(
"hardswish"
,
{
"X"
},
{},
{
"Out"
});
}
}
KernelSignature
SwishOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
SwishOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"swish_raw"
,
{
"X"
},
{
"beta"
},
{
"Out"
});
return
KernelSignature
(
"swish_raw"
,
{
"X"
},
{
"beta"
},
{
"Out"
});
}
}
KernelSignature
Relu6OpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
Relu6OpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"relu6_raw"
,
{
"X"
},
{
"threshold"
},
{
"Out"
});
return
KernelSignature
(
"relu6_raw"
,
{
"X"
},
{
"threshold"
},
{
"Out"
});
}
}
...
...
paddle/phi/ops/compat/batch_norm_sig.cc
浏览文件 @
2f42cb7f
...
@@ -55,7 +55,7 @@ KernelSignature BatchNormOpArgumentMapping(const ArgumentMappingContext& ctx) {
...
@@ -55,7 +55,7 @@ KernelSignature BatchNormOpArgumentMapping(const ArgumentMappingContext& ctx) {
}
}
KernelSignature
BatchNormGradOpArgumentMapping
(
KernelSignature
BatchNormGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"batch_norm_grad"
,
return
KernelSignature
(
"batch_norm_grad"
,
{
{
"X"
,
"X"
,
...
@@ -78,7 +78,7 @@ KernelSignature BatchNormGradOpArgumentMapping(
...
@@ -78,7 +78,7 @@ KernelSignature BatchNormGradOpArgumentMapping(
}
}
KernelSignature
BatchNormGradGradOpArgumentMapping
(
KernelSignature
BatchNormGradGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"batch_norm_double_grad"
,
return
KernelSignature
(
"batch_norm_double_grad"
,
{
"X"
,
{
"X"
,
"Scale"
,
"Scale"
,
...
...
paddle/phi/ops/compat/bincount_sig.cc
浏览文件 @
2f42cb7f
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
namespace
phi
{
namespace
phi
{
KernelSignature
BincountOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
BincountOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"bincount"
,
{
"X"
,
"Weights"
},
{
"minlength"
},
{
"Out"
});
return
KernelSignature
(
"bincount"
,
{
"X"
,
"Weights"
},
{
"minlength"
},
{
"Out"
});
}
}
...
...
paddle/phi/ops/compat/cast_sig.cc
浏览文件 @
2f42cb7f
...
@@ -16,7 +16,8 @@ limitations under the License. */
...
@@ -16,7 +16,8 @@ limitations under the License. */
namespace
phi
{
namespace
phi
{
KernelSignature
CastOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
CastOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"cast"
,
{
"X"
},
{
"out_dtype"
},
{
"Out"
});
return
KernelSignature
(
"cast"
,
{
"X"
},
{
"out_dtype"
},
{
"Out"
});
}
}
...
...
paddle/phi/ops/compat/channel_shuffle_sig.cc
浏览文件 @
2f42cb7f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
namespace
phi
{
namespace
phi
{
KernelSignature
ChannelShuffleGradOpArgumentMapping
(
KernelSignature
ChannelShuffleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"channel_shuffle_grad"
,
return
KernelSignature
(
"channel_shuffle_grad"
,
{
"Out@GRAD"
},
{
"Out@GRAD"
},
{
"groups"
,
"data_format"
},
{
"groups"
,
"data_format"
},
...
...
paddle/phi/ops/compat/conv2d_sig.cc
浏览文件 @
2f42cb7f
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
namespace
phi
{
namespace
phi
{
KernelSignature
Conv2dOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
Conv2dOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv2d"
,
return
KernelSignature
(
"conv2d"
,
{
"Input"
,
"Filter"
},
{
"Input"
,
"Filter"
},
{
"strides"
,
{
"strides"
,
...
@@ -28,7 +29,8 @@ KernelSignature Conv2dOpArgumentMapping(const ArgumentMappingContext& ctx) {
...
@@ -28,7 +29,8 @@ KernelSignature Conv2dOpArgumentMapping(const ArgumentMappingContext& ctx) {
{
"Output"
});
{
"Output"
});
}
}
KernelSignature
Conv2dGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
Conv2dGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv2d_grad"
,
return
KernelSignature
(
"conv2d_grad"
,
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"strides"
,
{
"strides"
,
...
@@ -41,7 +43,7 @@ KernelSignature Conv2dGradOpArgumentMapping(const ArgumentMappingContext& ctx) {
...
@@ -41,7 +43,7 @@ KernelSignature Conv2dGradOpArgumentMapping(const ArgumentMappingContext& ctx) {
}
}
KernelSignature
Conv2dDoubleGradOpArgumentMapping
(
KernelSignature
Conv2dDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv2d_double_grad"
,
return
KernelSignature
(
"conv2d_double_grad"
,
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"strides"
,
{
"strides"
,
...
@@ -53,7 +55,8 @@ KernelSignature Conv2dDoubleGradOpArgumentMapping(
...
@@ -53,7 +55,8 @@ KernelSignature Conv2dDoubleGradOpArgumentMapping(
{
"DInput"
,
"DFilter"
,
"DDOutput"
});
{
"DInput"
,
"DFilter"
,
"DDOutput"
});
}
}
KernelSignature
Conv2dFusionArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
Conv2dFusionArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv2d_fusion_cutlass"
,
return
KernelSignature
(
"conv2d_fusion_cutlass"
,
{
"Input"
,
"Filter"
,
"Bias"
,
"ResidualData"
},
{
"Input"
,
"Filter"
,
"Bias"
,
"ResidualData"
},
{
"strides"
,
{
"strides"
,
...
...
paddle/phi/ops/compat/conv3d_sig.cc
浏览文件 @
2f42cb7f
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
namespace
phi
{
namespace
phi
{
KernelSignature
Conv3dOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
Conv3dOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv3d"
,
return
KernelSignature
(
"conv3d"
,
{
"Input"
,
"Filter"
},
{
"Input"
,
"Filter"
},
{
{
...
@@ -30,7 +31,8 @@ KernelSignature Conv3dOpArgumentMapping(const ArgumentMappingContext& ctx) {
...
@@ -30,7 +31,8 @@ KernelSignature Conv3dOpArgumentMapping(const ArgumentMappingContext& ctx) {
{
"Output"
});
{
"Output"
});
}
}
KernelSignature
Conv3dGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
Conv3dGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv3d_grad"
,
return
KernelSignature
(
"conv3d_grad"
,
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"strides"
,
{
"strides"
,
...
@@ -43,7 +45,7 @@ KernelSignature Conv3dGradOpArgumentMapping(const ArgumentMappingContext& ctx) {
...
@@ -43,7 +45,7 @@ KernelSignature Conv3dGradOpArgumentMapping(const ArgumentMappingContext& ctx) {
}
}
KernelSignature
Conv3dDoubleGradOpArgumentMapping
(
KernelSignature
Conv3dDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv3d_double_grad"
,
return
KernelSignature
(
"conv3d_double_grad"
,
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"strides"
,
{
"strides"
,
...
...
paddle/phi/ops/compat/conv_fusion_sig.cc
浏览文件 @
2f42cb7f
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
namespace
phi
{
namespace
phi
{
KernelSignature
ConvFusionOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
ConvFusionOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv2d_fusion"
,
return
KernelSignature
(
"conv2d_fusion"
,
{
"Input"
,
"Filter"
,
"Bias"
,
"ResidualData"
},
{
"Input"
,
"Filter"
,
"Bias"
,
"ResidualData"
},
{
{
...
...
paddle/phi/ops/compat/conv_transpose_sig.cc
浏览文件 @
2f42cb7f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
namespace
phi
{
namespace
phi
{
KernelSignature
Conv2dTransposeOpArgumentMapping
(
KernelSignature
Conv2dTransposeOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv2d_transpose"
,
return
KernelSignature
(
"conv2d_transpose"
,
{
"Input"
,
"Filter"
},
{
"Input"
,
"Filter"
},
{
"strides"
,
{
"strides"
,
...
@@ -32,7 +32,7 @@ KernelSignature Conv2dTransposeOpArgumentMapping(
...
@@ -32,7 +32,7 @@ KernelSignature Conv2dTransposeOpArgumentMapping(
}
}
KernelSignature
Conv2dTransposeGradOpArgumentMapping
(
KernelSignature
Conv2dTransposeGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv2d_transpose_grad"
,
return
KernelSignature
(
"conv2d_transpose_grad"
,
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"strides"
,
{
"strides"
,
...
@@ -47,7 +47,7 @@ KernelSignature Conv2dTransposeGradOpArgumentMapping(
...
@@ -47,7 +47,7 @@ KernelSignature Conv2dTransposeGradOpArgumentMapping(
}
}
KernelSignature
Conv2dTransposeDoubleGradOpArgumentMapping
(
KernelSignature
Conv2dTransposeDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv2d_transpose_double_grad"
,
return
KernelSignature
(
"conv2d_transpose_double_grad"
,
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"strides"
,
{
"strides"
,
...
@@ -62,7 +62,7 @@ KernelSignature Conv2dTransposeDoubleGradOpArgumentMapping(
...
@@ -62,7 +62,7 @@ KernelSignature Conv2dTransposeDoubleGradOpArgumentMapping(
}
}
KernelSignature
Conv3dTransposeOpArgumentMapping
(
KernelSignature
Conv3dTransposeOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv3d_transpose"
,
return
KernelSignature
(
"conv3d_transpose"
,
{
"Input"
,
"Filter"
},
{
"Input"
,
"Filter"
},
{
"strides"
,
{
"strides"
,
...
@@ -77,7 +77,7 @@ KernelSignature Conv3dTransposeOpArgumentMapping(
...
@@ -77,7 +77,7 @@ KernelSignature Conv3dTransposeOpArgumentMapping(
}
}
KernelSignature
Conv3dTransposeGradOpArgumentMapping
(
KernelSignature
Conv3dTransposeGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"conv3d_transpose_grad"
,
return
KernelSignature
(
"conv3d_transpose_grad"
,
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"strides"
,
{
"strides"
,
...
@@ -92,7 +92,7 @@ KernelSignature Conv3dTransposeGradOpArgumentMapping(
...
@@ -92,7 +92,7 @@ KernelSignature Conv3dTransposeGradOpArgumentMapping(
}
}
KernelSignature
DepthwiseConv2dTransposeOpArgumentMapping
(
KernelSignature
DepthwiseConv2dTransposeOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"depthwise_conv2d_transpose"
,
return
KernelSignature
(
"depthwise_conv2d_transpose"
,
{
"Input"
,
"Filter"
},
{
"Input"
,
"Filter"
},
{
"strides"
,
{
"strides"
,
...
@@ -107,7 +107,7 @@ KernelSignature DepthwiseConv2dTransposeOpArgumentMapping(
...
@@ -107,7 +107,7 @@ KernelSignature DepthwiseConv2dTransposeOpArgumentMapping(
}
}
KernelSignature
DepthwiseConv2dTransposeGradOpArgumentMapping
(
KernelSignature
DepthwiseConv2dTransposeGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"depthwise_conv2d_transpose_grad"
,
return
KernelSignature
(
"depthwise_conv2d_transpose_grad"
,
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"strides"
,
{
"strides"
,
...
...
paddle/phi/ops/compat/cumsum_sig.cc
浏览文件 @
2f42cb7f
...
@@ -15,7 +15,8 @@
...
@@ -15,7 +15,8 @@
namespace
phi
{
namespace
phi
{
KernelSignature
CumsumOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
CumsumOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"cumsum_grad"
,
return
KernelSignature
(
"cumsum_grad"
,
{
"X"
,
"Out@GRAD"
},
{
"X"
,
"Out@GRAD"
},
{
"axis"
,
"flatten"
,
"exclusive"
,
"reverse"
},
{
"axis"
,
"flatten"
,
"exclusive"
,
"reverse"
},
...
...
paddle/phi/ops/compat/deformable_conv_sig.cc
浏览文件 @
2f42cb7f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
namespace
phi
{
namespace
phi
{
KernelSignature
DeformableConvOpV1ArgumentMapping
(
KernelSignature
DeformableConvOpV1ArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"deformable_conv"
,
return
KernelSignature
(
"deformable_conv"
,
{
"Input"
,
"Offset"
,
"Filter"
,
"Mask"
},
{
"Input"
,
"Offset"
,
"Filter"
,
"Mask"
},
{
"strides"
,
{
"strides"
,
...
@@ -30,7 +30,7 @@ KernelSignature DeformableConvOpV1ArgumentMapping(
...
@@ -30,7 +30,7 @@ KernelSignature DeformableConvOpV1ArgumentMapping(
}
}
KernelSignature
DeformableConvGradOpV1ArgumentMapping
(
KernelSignature
DeformableConvGradOpV1ArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"deformable_conv_grad"
,
"deformable_conv_grad"
,
{
"Input"
,
"Offset"
,
"Filter"
,
"Mask"
,
"Output@GRAD"
},
{
"Input"
,
"Offset"
,
"Filter"
,
"Mask"
,
"Output@GRAD"
},
...
...
paddle/phi/ops/compat/depthwise_conv2d_sig.cc
浏览文件 @
2f42cb7f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
namespace
phi
{
namespace
phi
{
KernelSignature
DepthwiseConv2dOpArgumentMapping
(
KernelSignature
DepthwiseConv2dOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"depthwise_conv2d"
,
return
KernelSignature
(
"depthwise_conv2d"
,
{
"Input"
,
"Filter"
},
{
"Input"
,
"Filter"
},
{
"strides"
,
{
"strides"
,
...
@@ -30,7 +30,7 @@ KernelSignature DepthwiseConv2dOpArgumentMapping(
...
@@ -30,7 +30,7 @@ KernelSignature DepthwiseConv2dOpArgumentMapping(
}
}
KernelSignature
DepthwiseConv2dGradOpArgumentMapping
(
KernelSignature
DepthwiseConv2dGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"depthwise_conv2d_grad"
,
return
KernelSignature
(
"depthwise_conv2d_grad"
,
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"Input"
,
"Filter"
,
"Output@GRAD"
},
{
"strides"
,
{
"strides"
,
...
@@ -43,7 +43,7 @@ KernelSignature DepthwiseConv2dGradOpArgumentMapping(
...
@@ -43,7 +43,7 @@ KernelSignature DepthwiseConv2dGradOpArgumentMapping(
}
}
KernelSignature
DepthwiseConv2dDoubleGradOpArgumentMapping
(
KernelSignature
DepthwiseConv2dDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"depthwise_conv2d_double_grad"
,
return
KernelSignature
(
"depthwise_conv2d_double_grad"
,
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"strides"
,
{
"strides"
,
...
...
paddle/phi/ops/compat/distribute_fpn_proposals_sig.cc
浏览文件 @
2f42cb7f
...
@@ -17,7 +17,7 @@ limitations under the License. */
...
@@ -17,7 +17,7 @@ limitations under the License. */
namespace
phi
{
namespace
phi
{
KernelSignature
DistributeFpnProposalsOpArgumentMapping
(
KernelSignature
DistributeFpnProposalsOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"distribute_fpn_proposals"
,
"distribute_fpn_proposals"
,
{
"FpnRois"
,
"RoisNum"
},
{
"FpnRois"
,
"RoisNum"
},
...
...
paddle/phi/ops/compat/dropout_sig.cc
浏览文件 @
2f42cb7f
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
namespace
phi
{
namespace
phi
{
KernelSignature
DropoutOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
DropoutOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"dropout"
,
"dropout"
,
{
"X"
,
"Seed"
},
{
"X"
,
"Seed"
},
...
@@ -25,14 +26,15 @@ KernelSignature DropoutOpArgumentMapping(const ArgumentMappingContext& ctx) {
...
@@ -25,14 +26,15 @@ KernelSignature DropoutOpArgumentMapping(const ArgumentMappingContext& ctx) {
}
}
KernelSignature
DropoutGradOpArgumentMapping
(
KernelSignature
DropoutGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"dropout_grad"
,
return
KernelSignature
(
"dropout_grad"
,
{
"Mask"
,
"Out@GRAD"
},
{
"Mask"
,
"Out@GRAD"
},
{
"dropout_prob"
,
"is_test"
,
"dropout_implementation"
},
{
"dropout_prob"
,
"is_test"
,
"dropout_implementation"
},
{
"X@GRAD"
});
{
"X@GRAD"
});
}
}
KernelSignature
DropoutNdOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
DropoutNdOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"dropout_nd"
,
return
KernelSignature
(
"dropout_nd"
,
{
"X"
,
"Seed"
},
{
"X"
,
"Seed"
},
{
"dropout_prob"
,
{
"dropout_prob"
,
...
@@ -45,7 +47,7 @@ KernelSignature DropoutNdOpArgumentMapping(const ArgumentMappingContext& ctx) {
...
@@ -45,7 +47,7 @@ KernelSignature DropoutNdOpArgumentMapping(const ArgumentMappingContext& ctx) {
}
}
KernelSignature
DropoutNdGradOpArgumentMapping
(
KernelSignature
DropoutNdGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"dropout_nd_grad"
,
"dropout_nd_grad"
,
{
"Mask"
,
"Out@GRAD"
},
{
"Mask"
,
"Out@GRAD"
},
...
...
paddle/phi/ops/compat/einsum_sig.cc
浏览文件 @
2f42cb7f
...
@@ -16,12 +16,14 @@ limitations under the License. */
...
@@ -16,12 +16,14 @@ limitations under the License. */
namespace
phi
{
namespace
phi
{
KernelSignature
EinsumOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
EinsumOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"einsum"
,
{
"Operands"
},
{
"equation"
},
{
"Out"
,
"InnerCache"
,
"XShape"
});
"einsum"
,
{
"Operands"
},
{
"equation"
},
{
"Out"
,
"InnerCache"
,
"XShape"
});
}
}
KernelSignature
EinsumGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
KernelSignature
EinsumGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"einsum_grad"
,
return
KernelSignature
(
"einsum_grad"
,
{
"Operands"
,
"InnerCache"
,
"Out@GRAD"
},
{
"Operands"
,
"InnerCache"
,
"Out@GRAD"
},
{
"equation"
},
{
"equation"
},
...
...
paddle/phi/ops/compat/elementwise_sig.cc
浏览文件 @
2f42cb7f
...
@@ -26,7 +26,7 @@ KernelSignature ElementwiseAddOpArgumentMapping(
...
@@ -26,7 +26,7 @@ KernelSignature ElementwiseAddOpArgumentMapping(
}
}
KernelSignature
ElementwiseGradAddOpArgumentMapping
(
KernelSignature
ElementwiseGradAddOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"grad_add"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
return
KernelSignature
(
"grad_add"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
}
}
...
@@ -101,12 +101,12 @@ KernelSignature ElementwiseFloorDivOpArgumentMapping(
...
@@ -101,12 +101,12 @@ KernelSignature ElementwiseFloorDivOpArgumentMapping(
}
}
KernelSignature
ElementwiseHeavisideOpArgumentMapping
(
KernelSignature
ElementwiseHeavisideOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"heaviside"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
return
KernelSignature
(
"heaviside"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
}
}
KernelSignature
ElementwisePowOpArgumentMapping
(
KernelSignature
ElementwisePowOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
int
axis
=
paddle
::
any_cast
<
int
>
(
ctx
.
Attr
(
"axis"
));
int
axis
=
paddle
::
any_cast
<
int
>
(
ctx
.
Attr
(
"axis"
));
if
(
axis
==
-
1
)
{
if
(
axis
==
-
1
)
{
return
KernelSignature
(
"elementwise_pow"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
return
KernelSignature
(
"elementwise_pow"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
...
@@ -115,19 +115,19 @@ KernelSignature ElementwisePowOpArgumentMapping(
...
@@ -115,19 +115,19 @@ KernelSignature ElementwisePowOpArgumentMapping(
}
}
KernelSignature
ElementwiseAddGradOpArgumentMapping
(
KernelSignature
ElementwiseAddGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"add_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{
"axis"
},
{
"X@GRAD"
,
"Y@GRAD"
});
"add_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{
"axis"
},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
KernelSignature
ElementwiseAddDoubleGradOpArgumentMapping
(
KernelSignature
ElementwiseAddDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"add_double_grad"
,
{
"Y"
,
"DOut"
,
"DDX"
,
"DDY"
},
{
"axis"
},
{
"DDOut"
});
"add_double_grad"
,
{
"Y"
,
"DOut"
,
"DDX"
,
"DDY"
},
{
"axis"
},
{
"DDOut"
});
}
}
KernelSignature
ElementwiseAddTripleGradOpArgumentMapping
(
KernelSignature
ElementwiseAddTripleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"add_triple_grad"
,
return
KernelSignature
(
"add_triple_grad"
,
{
"DDX"
,
"DDY"
,
"D_DDOut"
},
{
"DDX"
,
"DDY"
,
"D_DDOut"
},
{
"axis"
},
{
"axis"
},
...
@@ -135,19 +135,19 @@ KernelSignature ElementwiseAddTripleGradOpArgumentMapping(
...
@@ -135,19 +135,19 @@ KernelSignature ElementwiseAddTripleGradOpArgumentMapping(
}
}
KernelSignature
ElementwiseSubGradOpArgumentMapping
(
KernelSignature
ElementwiseSubGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"subtract_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{
"axis"
},
{
"X@GRAD"
,
"Y@GRAD"
});
"subtract_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{
"axis"
},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
KernelSignature
ElementwiseSubDoubleGradOpArgumentMapping
(
KernelSignature
ElementwiseSubDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"subtract_double_grad"
,
{
"Y"
,
"DOut"
,
"DDX"
,
"DDY"
},
{
"axis"
},
{
"DDOut"
});
"subtract_double_grad"
,
{
"Y"
,
"DOut"
,
"DDX"
,
"DDY"
},
{
"axis"
},
{
"DDOut"
});
}
}
KernelSignature
ElementwiseDivGradOpArgumentMapping
(
KernelSignature
ElementwiseDivGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"divide_grad"
,
return
KernelSignature
(
"divide_grad"
,
{
"X"
,
"Y"
,
"Out"
,
"Out@GRAD"
},
{
"X"
,
"Y"
,
"Out"
,
"Out@GRAD"
},
{
"axis"
},
{
"axis"
},
...
@@ -155,13 +155,13 @@ KernelSignature ElementwiseDivGradOpArgumentMapping(
...
@@ -155,13 +155,13 @@ KernelSignature ElementwiseDivGradOpArgumentMapping(
}
}
KernelSignature
ElementwiseFMinGradOpArgumentMapping
(
KernelSignature
ElementwiseFMinGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"fmin_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
"fmin_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
KernelSignature
ElementwiseDivDoubleGradOpArgumentMapping
(
KernelSignature
ElementwiseDivDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"divide_double_grad"
,
return
KernelSignature
(
"divide_double_grad"
,
{
"Y"
,
"Out"
,
"DX"
,
"DDX"
,
"DDY"
},
{
"Y"
,
"Out"
,
"DX"
,
"DDX"
,
"DDY"
},
{
"axis"
},
{
"axis"
},
...
@@ -169,29 +169,29 @@ KernelSignature ElementwiseDivDoubleGradOpArgumentMapping(
...
@@ -169,29 +169,29 @@ KernelSignature ElementwiseDivDoubleGradOpArgumentMapping(
}
}
KernelSignature
ElementwiseMulGradOpArgumentMapping
(
KernelSignature
ElementwiseMulGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"multiply_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{
"axis"
},
{
"X@GRAD"
,
"Y@GRAD"
});
"multiply_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{
"axis"
},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
KernelSignature
ElementwiseFMaxOpArgumentMapping
(
KernelSignature
ElementwiseFMaxOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"fmax"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
return
KernelSignature
(
"fmax"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
}
}
KernelSignature
ElementwiseFMinOpArgumentMapping
(
KernelSignature
ElementwiseFMinOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"fmin"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
return
KernelSignature
(
"fmin"
,
{
"X"
,
"Y"
},
{},
{
"Out"
});
}
}
KernelSignature
ElementwiseFMaxGradOpArgumentMapping
(
KernelSignature
ElementwiseFMaxGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"fmax_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
"fmax_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
KernelSignature
ElementwiseMulDoubleGradOpArgumentMapping
(
KernelSignature
ElementwiseMulDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"multiply_double_grad"
,
return
KernelSignature
(
"multiply_double_grad"
,
{
"X"
,
"Y"
,
"DOut"
,
"DDX"
,
"DDY"
},
{
"X"
,
"Y"
,
"DOut"
,
"DDX"
,
"DDY"
},
{
"axis"
},
{
"axis"
},
...
@@ -199,7 +199,7 @@ KernelSignature ElementwiseMulDoubleGradOpArgumentMapping(
...
@@ -199,7 +199,7 @@ KernelSignature ElementwiseMulDoubleGradOpArgumentMapping(
}
}
KernelSignature
ElementwiseMulTripleGradOpArgumentMapping
(
KernelSignature
ElementwiseMulTripleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"multiply_triple_grad"
,
"multiply_triple_grad"
,
{
"X"
,
"Y"
,
"DOut"
,
"DDX"
,
"DDY"
,
"D_DX"
,
"D_DY"
,
"D_DDOut"
},
{
"X"
,
"Y"
,
"DOut"
,
"DDX"
,
"DDY"
,
"D_DX"
,
"D_DY"
,
"D_DDOut"
},
...
@@ -208,25 +208,25 @@ KernelSignature ElementwiseMulTripleGradOpArgumentMapping(
...
@@ -208,25 +208,25 @@ KernelSignature ElementwiseMulTripleGradOpArgumentMapping(
}
}
KernelSignature
ElementwiseMaxGradOpArgumentMapping
(
KernelSignature
ElementwiseMaxGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"maximum_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
"maximum_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
KernelSignature
ElementwiseMinGradOpArgumentMapping
(
KernelSignature
ElementwiseMinGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"minimum_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
"minimum_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
KernelSignature
ElementwiseHeavisideGradOpArgumentMapping
(
KernelSignature
ElementwiseHeavisideGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"heaviside_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
"heaviside_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
KernelSignature
ElementwisePowGradOpArgumentMapping
(
KernelSignature
ElementwisePowGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
return
KernelSignature
(
"elementwise_pow_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
"elementwise_pow_grad"
,
{
"X"
,
"Y"
,
"Out@GRAD"
},
{},
{
"X@GRAD"
,
"Y@GRAD"
});
}
}
...
...
paddle/phi/ops/compat/exponential_sig.cc
浏览文件 @
2f42cb7f
...
@@ -17,7 +17,7 @@ limitations under the License. */
...
@@ -17,7 +17,7 @@ limitations under the License. */
namespace
phi
{
namespace
phi
{
KernelSignature
ExponentialOpArgumentMapping
(
KernelSignature
ExponentialOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"exponential"
,
{
"X"
},
{
"lambda"
},
{
"Out"
});
return
KernelSignature
(
"exponential"
,
{
"X"
},
{
"lambda"
},
{
"Out"
});
}
}
...
...
paddle/phi/ops/compat/fill_any_like_sig.cc
浏览文件 @
2f42cb7f
...
@@ -17,7 +17,7 @@ limitations under the License. */
...
@@ -17,7 +17,7 @@ limitations under the License. */
namespace
phi
{
namespace
phi
{
KernelSignature
FillAnyLikeOpArgumentMapping
(
KernelSignature
FillAnyLikeOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
UNUSED
)
{
return
KernelSignature
(
"full_like"
,
{
"X"
},
{
"value"
,
"dtype"
},
{
"Out"
});
return
KernelSignature
(
"full_like"
,
{
"X"
},
{
"value"
,
"dtype"
},
{
"Out"
});
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录