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

Use bool for PADDLE_ENFORCE, not int #4375

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

reyoung
Copy link
Collaborator

@reyoung reyoung commented Sep 25, 2017

  • If stat is an integer, bool value will implicit cast to int before
    pass to PADDLE_ENFORCE

* If stat is an integer, bool value will implicit cast to int before
  pass to PADDLE_ENFORCE
@reyoung reyoung merged commit bc30ba1 into PaddlePaddle:develop Sep 27, 2017
@reyoung reyoung deleted the feature/use_bool_for_enforce branch October 2, 2017 18:20
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.

None yet

2 participants