Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some Bugs of Used before Assignment #33519

Merged
merged 1 commit into from
Jun 16, 2021
Merged

Fix some Bugs of Used before Assignment #33519

merged 1 commit into from
Jun 16, 2021

Conversation

Jiangxinz
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Describe

  1. In python/paddle/fluid/tests/unittests/test_hdfs1.py:
    Line 44: Using variable 'cmd' before assignment
    Move statement in Line 49 to Line 42
  2. In python/paddle/fluid/tests/unittests/mkldnn/test_fusion_gru_bf16_mkldnn_op.py:
    Line 103: Using variable 'h0_bf16' before assignment
    Move statement in Line 107 to Line 101

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@lelelelelez lelelelelez left a comment

Choose a reason for hiding this comment

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

LGTM

@lelelelelez lelelelelez merged commit e6c5282 into PaddlePaddle:develop Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants