diff --git a/paddle/fluid/operators/compat/conv2d.pbtxt b/paddle/fluid/operators/compat/conv2d.pbtxt index 94073800f72461abfab7172dace7afeba9f19c09..24f15098a8b9e32c65f963dad3226df9e9c4057c 100644 --- a/paddle/fluid/operators/compat/conv2d.pbtxt +++ b/paddle/fluid/operators/compat/conv2d.pbtxt @@ -32,6 +32,10 @@ def { name: "dilations" type: INTS } + attrs { + name: "data_format" + type: STRING + } } extra { inputs { @@ -113,10 +117,6 @@ extra { name: "force_fp32_output" type: BOOLEAN } - attrs { - name: "data_format" - type: STRING - } attrs { name: "workspace_size_MB" type: INT diff --git a/paddle/fluid/operators/compat/conv2d_transpose.pbtxt b/paddle/fluid/operators/compat/conv2d_transpose.pbtxt index 7e3ecb22152b561bbda8d7e108df98d39169818e..474043718e4f971c6349b20432ae0aad95e33893 100644 --- a/paddle/fluid/operators/compat/conv2d_transpose.pbtxt +++ b/paddle/fluid/operators/compat/conv2d_transpose.pbtxt @@ -1,4 +1,4 @@ -type: "reduce_mean" +type: "conv2d_transpose" def { inputs { name: "Input" @@ -40,6 +40,10 @@ def { name: "padding_algorithm" type: STRING } + attrs { + name: "data_format" + type: STRING + } } extra { attrs { @@ -78,10 +82,6 @@ extra { name: "fuse_beta" type: FLOAT } - attrs { - name: "data_format" - type: STRING - } attrs { name: "workspace_size_MB" type: INT