-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
add gradient test framework #3226
Merged
jacquesqiao
merged 28 commits into
PaddlePaddle:develop
from
jacquesqiao:GradientChecker
Aug 8, 2017
Merged
Changes from 2 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
70c42fa
init grad op checker
jacquesqiao 44a95e0
can run
jacquesqiao 8fde952
add GradeChecker class
jacquesqiao 25a0c13
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jacquesqiao ccc4869
use get_numeric_gradient
jacquesqiao 3dc5f9f
refine code
jacquesqiao 602ea1a
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jacquesqiao d280694
add softmax and cross entropy auto grad test
jacquesqiao d98bca7
use close to judge op_grad and numeric_grad
jacquesqiao 646aedf
add cpu and gpu compare
jacquesqiao cd93735
add comments
jacquesqiao c33de52
add support_gpu
jacquesqiao 200ca59
fix allclose
jacquesqiao 22bdd99
fix name error and symplify code
jacquesqiao e054765
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jacquesqiao c578c40
Merge branch 'is_support_gpu' of https://github.com/jacquesqiao/Paddl…
jacquesqiao d383542
optimize gradient checker
jacquesqiao 6d87260
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jacquesqiao 59dd91b
add test_cross_entropy_op
jacquesqiao 0701341
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jacquesqiao c46b85e
update gradient_checker.py
jacquesqiao 6c18e43
optimize code
jacquesqiao cfa981f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jacquesqiao e2f3fda
use random.uniform instead of random.random
jacquesqiao 10e8449
fix type bug
jacquesqiao f39be65
optimize check_grad
jacquesqiao cba3821
put SupportGPU into OperatorBase
jacquesqiao b1d78f2
typo
jacquesqiao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does the class name have suffix
1
? Should we give it a more specific name?