Skip to content

Commit

Permalink
Remove unsupported pass component
Browse files Browse the repository at this point in the history
  • Loading branch information
LLee233 committed Mar 4, 2024
1 parent 1c5314b commit becbbda
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions paddle/fluid/framework/ir/conv_bn_fuse_pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -904,48 +904,6 @@ ConvTransposeEltwiseAddBNFusePass::
.AddAttr("data_format")
.IsStringIn({"NCHW", "AnyLayout"})
.End();

AddOpCompat(OpCompat("conv2d_transpose_bias"))
.AddInput("Input")
.IsTensor()
.End()
.AddInput("Filter")
.IsTensor()
.End()
.AddInput("Bias")
.IsTensor()
.IsOptional()
.End()
.AddOutput("Output")
.IsTensor()
.End()
.AddAttr("output_padding")
.IsType<std::vector<int>>()
.IsOptional()
.End()
.AddAttr("output_size")
.IsType<std::vector<int>>()
.IsOptional()
.End()
.AddAttr("groups")
.IsNumEQ(1)
.End()
.AddAttr("dilations")
.IsType<std::vector<int>>()
.End()
.AddAttr("strides")
.IsType<std::vector<int>>()
.End()
.AddAttr("paddings")
.IsType<std::vector<int>>()
.End()
.AddAttr("padding_algorithm")
.IsOptional()
.IsStringIn({"EXPLICIT", "SAME", "VALID"})
.End()
.AddAttr("data_format")
.IsStringIn({"NCHW", "AnyLayout"})
.End();
}

DepthwiseConvBNFusePass::DepthwiseConvBNFusePass() { // NOLINT
Expand Down

0 comments on commit becbbda

Please sign in to comment.