Skip to content

Commit

Permalink
fix func args
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooo-create committed Feb 7, 2025
1 parent d1f8d0d commit 7fc3491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/pybind/pir.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2535,7 +2535,7 @@ void BindUtils(pybind11::module *m) {
namespace {

void ApplyCinnPass(Program &program, // NOLINT
bool need_infer_symbolic_shape) {
bool need_infer_symbolic_shape = true) {
#ifdef PADDLE_WITH_CINN
auto CreatePassManager = [&]() -> std::shared_ptr<pir::PassManager> {
pir::IrContext *ctx = pir::IrContext::Instance();
Expand Down Expand Up @@ -3194,7 +3194,7 @@ void BindShapeConstraintIRAnalysis(pybind11::module *m) {
shape_constraint_ir_analysis(*m, "ShapeConstraintIRAnalysis", R"DOC(
A class that store the shape information of all operators.
)DOC");
shape_constraint_ir_analysis
x shape_constraint_ir_analysis
.def("get_shape_or_data_for_var",
&pir::ShapeConstraintIRAnalysis::GetShapeOrDataForValue,
return_value_policy::reference)
Expand Down

0 comments on commit 7fc3491

Please sign in to comment.