diff --git a/paddle/phi/api/yaml/op_compat.yaml b/paddle/phi/api/yaml/op_compat.yaml index 0c306362c8e5443c29f671f8edf8c0b01ffbaa42..cf74daf29083a0863b4ea982b0682aaf2189a7c4 100755 --- a/paddle/phi/api/yaml/op_compat.yaml +++ b/paddle/phi/api/yaml/op_compat.yaml @@ -1979,7 +1979,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 @@ -1993,7 +1993,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 diff --git a/paddle/phi/api/yaml/static_ops.yaml b/paddle/phi/api/yaml/static_ops.yaml index 80de8b31ba64166c267e1e9967fe7db2bd422caa..71255a310bde9bb42d1a69356a49b02e70bb4fc9 100755 --- a/paddle/phi/api/yaml/static_ops.yaml +++ b/paddle/phi/api/yaml/static_ops.yaml @@ -412,7 +412,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 @@ -423,7 +423,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