Skip to content

Commit

Permalink
fix (#62216)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbo9674 authored Feb 29, 2024
1 parent f1e3179 commit ba71b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/ir_adaptor/translator/program_translator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ void ProgramTranslator::TranslateIfOperation(
TranslationContext* translation_ctx,
pir::Block* dst_block,
bool for_bwd) {
VLOG(8) << "=============>Start to translate if op:" << op;
LOG_FIRST_N(INFO, 1) << "Translate ConditionalBlockOp";
auto& type_translator = TypeTranslator::instance();

auto cond_op_cond = op->Input("Cond")[0];
Expand Down Expand Up @@ -479,7 +479,7 @@ void ProgramTranslator::TranslateWhileOperation(
const OpDesc* op,
TranslationContext* translation_ctx,
pir::Block* dst_block) {
VLOG(8) << "=============>Start to translate while op:" << op;
LOG_FIRST_N(INFO, 1) << "Translate WhileOp";
auto& sub_block = legacy_program_->Block(op->GetBlockAttrId("sub_block"));
auto& inputs = op->Output("Out");
auto& cond_var = op->Input("Condition")[0];
Expand Down

0 comments on commit ba71b83

Please sign in to comment.