Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
49bbd466
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2292
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
49bbd466
编写于
4月 06, 2023
作者:
Z
zhangyuqin1998
提交者:
GitHub
4月 06, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rename conv2d transpose grad grad (#52371)
* Rename conv2d transpose grad grad * fix
上级
262ea02a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
9 addition
and
6 deletion
+9
-6
paddle/phi/api/yaml/legacy_backward.yaml
paddle/phi/api/yaml/legacy_backward.yaml
+1
-1
paddle/phi/kernels/gpu/conv_transpose_grad_kernel.cu
paddle/phi/kernels/gpu/conv_transpose_grad_kernel.cu
+1
-1
paddle/phi/kernels/gpudnn/conv_transpose_grad_kernel.cu
paddle/phi/kernels/gpudnn/conv_transpose_grad_kernel.cu
+3
-3
paddle/phi/ops/compat/conv_transpose_sig.cc
paddle/phi/ops/compat/conv_transpose_sig.cc
+4
-1
未找到文件。
paddle/phi/api/yaml/legacy_backward.yaml
浏览文件 @
49bbd466
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
infer_meta
:
infer_meta
:
func
:
Conv2dTransposeDoubleGradInferMeta
func
:
Conv2dTransposeDoubleGradInferMeta
kernel
:
kernel
:
func
:
conv2d_transpose_
grad
_grad
func
:
conv2d_transpose_
double
_grad
-
backward_op
:
conv2d_transpose_grad
-
backward_op
:
conv2d_transpose_grad
forward
:
conv2d_transpose(Tensor x, Tensor filter, int[] strides, int[] paddings, int[] output_padding, IntArray output_size, str padding_algorithm, int groups, int[] dilations, str data_format) -> Tensor(out)
forward
:
conv2d_transpose(Tensor x, Tensor filter, int[] strides, int[] paddings, int[] output_padding, IntArray output_size, str padding_algorithm, int groups, int[] dilations, str data_format) -> Tensor(out)
...
...
paddle/phi/kernels/gpu/conv_transpose_grad_kernel.cu
浏览文件 @
49bbd466
...
@@ -136,7 +136,7 @@ PD_REGISTER_KERNEL(conv2d_transpose_grad,
...
@@ -136,7 +136,7 @@ PD_REGISTER_KERNEL(conv2d_transpose_grad,
phi
::
Conv2dTransposeGradKernel
,
phi
::
Conv2dTransposeGradKernel
,
float
,
float
,
double
)
{}
double
)
{}
PD_REGISTER_KERNEL
(
conv2d_transpose_
grad
_grad
,
PD_REGISTER_KERNEL
(
conv2d_transpose_
double
_grad
,
GPU
,
GPU
,
ALL_LAYOUT
,
ALL_LAYOUT
,
phi
::
Conv2dTransposeDoubleGradKernel
,
phi
::
Conv2dTransposeDoubleGradKernel
,
...
...
paddle/phi/kernels/gpudnn/conv_transpose_grad_kernel.cu
浏览文件 @
49bbd466
...
@@ -1059,7 +1059,7 @@ PD_REGISTER_KERNEL(conv2d_transpose_grad,
...
@@ -1059,7 +1059,7 @@ PD_REGISTER_KERNEL(conv2d_transpose_grad,
phi
::
Conv2dTransposeGradGPUDNNKernel
,
phi
::
Conv2dTransposeGradGPUDNNKernel
,
float
,
float
,
float16
)
{}
float16
)
{}
PD_REGISTER_KERNEL
(
conv2d_transpose_
grad
_grad
,
PD_REGISTER_KERNEL
(
conv2d_transpose_
double
_grad
,
GPUDNN
,
GPUDNN
,
ALL_LAYOUT
,
ALL_LAYOUT
,
phi
::
Conv2dTransposeDoubleGradGPUDNNKernel
,
phi
::
Conv2dTransposeDoubleGradGPUDNNKernel
,
...
@@ -1081,7 +1081,7 @@ PD_REGISTER_KERNEL(conv2d_transpose_grad,
...
@@ -1081,7 +1081,7 @@ PD_REGISTER_KERNEL(conv2d_transpose_grad,
double
,
double
,
float16
,
float16
,
phi
::
dtype
::
bfloat16
)
{}
phi
::
dtype
::
bfloat16
)
{}
PD_REGISTER_KERNEL
(
conv2d_transpose_
grad
_grad
,
PD_REGISTER_KERNEL
(
conv2d_transpose_
double
_grad
,
GPUDNN
,
GPUDNN
,
ALL_LAYOUT
,
ALL_LAYOUT
,
phi
::
Conv2dTransposeDoubleGradGPUDNNKernel
,
phi
::
Conv2dTransposeDoubleGradGPUDNNKernel
,
...
@@ -1105,7 +1105,7 @@ PD_REGISTER_KERNEL(conv2d_transpose_grad,
...
@@ -1105,7 +1105,7 @@ PD_REGISTER_KERNEL(conv2d_transpose_grad,
float
,
float
,
double
,
double
,
float16
)
{}
float16
)
{}
PD_REGISTER_KERNEL
(
conv2d_transpose_
grad
_grad
,
PD_REGISTER_KERNEL
(
conv2d_transpose_
double
_grad
,
GPUDNN
,
GPUDNN
,
ALL_LAYOUT
,
ALL_LAYOUT
,
phi
::
Conv2dTransposeDoubleGradGPUDNNKernel
,
phi
::
Conv2dTransposeDoubleGradGPUDNNKernel
,
...
...
paddle/phi/ops/compat/conv_transpose_sig.cc
浏览文件 @
49bbd466
...
@@ -48,7 +48,7 @@ KernelSignature Conv2dTransposeGradOpArgumentMapping(
...
@@ -48,7 +48,7 @@ KernelSignature Conv2dTransposeGradOpArgumentMapping(
KernelSignature
Conv2dTransposeDoubleGradOpArgumentMapping
(
KernelSignature
Conv2dTransposeDoubleGradOpArgumentMapping
(
const
ArgumentMappingContext
&
ctx
)
{
const
ArgumentMappingContext
&
ctx
)
{
return
KernelSignature
(
"conv2d_transpose_
grad
_grad"
,
return
KernelSignature
(
"conv2d_transpose_
double
_grad"
,
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"Input"
,
"Filter"
,
"DOutput"
,
"DDInput"
,
"DDFilter"
},
{
"strides"
,
{
"strides"
,
"paddings"
,
"paddings"
,
...
@@ -123,6 +123,9 @@ KernelSignature DepthwiseConv2dTransposeGradOpArgumentMapping(
...
@@ -123,6 +123,9 @@ KernelSignature DepthwiseConv2dTransposeGradOpArgumentMapping(
}
// namespace phi
}
// namespace phi
PD_REGISTER_BASE_KERNEL_NAME
(
conv2d_transpose_grad_grad
,
conv2d_transpose_double_grad
);
PD_REGISTER_ARG_MAPPING_FN
(
conv2d_transpose
,
PD_REGISTER_ARG_MAPPING_FN
(
conv2d_transpose
,
phi
::
Conv2dTransposeOpArgumentMapping
);
phi
::
Conv2dTransposeOpArgumentMapping
);
PD_REGISTER_ARG_MAPPING_FN
(
conv2d_transpose_grad
,
PD_REGISTER_ARG_MAPPING_FN
(
conv2d_transpose_grad
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录