Skip to content

Commit

Permalink
fix the op attrs error in conv2d pbtxt,test=develop (#33532)
Browse files Browse the repository at this point in the history
  • Loading branch information
winter-wang authored Jun 15, 2021
1 parent 3a2230d commit 009a163
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions paddle/fluid/operators/compat/conv2d.pbtxt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def {
name: "dilations"
type: INTS
}
attrs {
name: "data_format"
type: STRING
}
}
extra {
inputs {
Expand Down Expand Up @@ -113,10 +117,6 @@ extra {
name: "force_fp32_output"
type: BOOLEAN
}
attrs {
name: "data_format"
type: STRING
}
attrs {
name: "workspace_size_MB"
type: INT
Expand Down
10 changes: 5 additions & 5 deletions paddle/fluid/operators/compat/conv2d_transpose.pbtxt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type: "reduce_mean"
type: "conv2d_transpose"
def {
inputs {
name: "Input"
Expand Down Expand Up @@ -40,6 +40,10 @@ def {
name: "padding_algorithm"
type: STRING
}
attrs {
name: "data_format"
type: STRING
}
}
extra {
attrs {
Expand Down Expand Up @@ -78,10 +82,6 @@ extra {
name: "fuse_beta"
type: FLOAT
}
attrs {
name: "data_format"
type: STRING
}
attrs {
name: "workspace_size_MB"
type: INT
Expand Down

0 comments on commit 009a163

Please sign in to comment.