Skip to content

Commit

Permalink
fix bug when place 'use_cudnn' in extra (#54766) (#55167)
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain-lzy authored Jul 7, 2023
1 parent cde4b33 commit 32bbf74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions paddle/phi/api/yaml/op_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1923,7 +1923,7 @@
pool2d_double_grad : GetPoolDoubleGradExpectedKernelType
extra :
attrs : [bool use_mkldnn = false, bool use_quantizer = false,
str mkldnn_data_type = "float32", bool is_test = false, bool use_cudnn = false]
str mkldnn_data_type = "float32", bool is_test = false]

- op : pool3d
backward : pool3d_grad
Expand All @@ -1937,7 +1937,7 @@
pool3d : GetPoolExpectedKernelType
pool3d_grad : GetPoolExpectedKernelType
extra :
attrs : [bool use_mkldnn = false, bool use_cudnn = false]
attrs : [bool use_mkldnn = false]

- op : pow
backward : pow_grad, pow_double_grad, pow_triple_grad
Expand Down
4 changes: 2 additions & 2 deletions paddle/phi/api/yaml/static_ops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
param : [peer, dtype, out_shape]

- op : pool2d
args : (Tensor x, IntArray kernel_size, int[] strides = {1,1}, int[] paddings = {0,0}, bool ceil_mode = false, bool exclusive = true, str data_format = "NCHW", str pooling_type = "", bool global_pooling = false, bool adaptive = false, str padding_algorithm = "EXPLICIT")
args : (Tensor x, IntArray kernel_size, int[] strides = {1,1}, int[] paddings = {0,0}, bool ceil_mode = false, bool exclusive = true, str data_format = "NCHW", str pooling_type = "", bool global_pooling = false, bool adaptive = false, str padding_algorithm = "EXPLICIT", bool use_cudnn = false)
output : Tensor(out)
infer_meta :
func : Pool2DInferMeta
Expand All @@ -374,7 +374,7 @@
backward : pool2d_grad

- op : pool3d
args : (Tensor x, int[] kernel_size, int[] strides = {1,1,1}, int[] paddings = {0,0,0}, bool ceil_mode = false, bool exclusive = true, str data_format = "NCDHW", str pooling_type = "", bool global_pooling = false, bool adaptive = false, str padding_algorithm = "EXPLICIT")
args : (Tensor x, int[] kernel_size, int[] strides = {1,1,1}, int[] paddings = {0,0,0}, bool ceil_mode = false, bool exclusive = true, str data_format = "NCDHW", str pooling_type = "", bool global_pooling = false, bool adaptive = false, str padding_algorithm = "EXPLICIT", bool use_cudnn = false)
output : Tensor(out)
infer_meta :
func : PoolInferMeta
Expand Down

0 comments on commit 32bbf74

Please sign in to comment.