Skip to content

Commit

Permalink
fix scale init error
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrrong committed Jun 17, 2022
1 parent 2fa5323 commit e47a481
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class BilinearInterpolateV2OpConverter : public OpConverter {
}

auto in_dim = input->getDimensions();
float scale_h = 1.f;
float scale_w = 1.f;
float scale_h = -1.f;
float scale_w = -1.f;

// Scales Priority: Scale(tensor) > scale(attr) > out_d/out_h/out_w(attr)
bool has_scale_input_attr =
Expand Down

1 comment on commit e47a481

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.