-
Notifications
You must be signed in to change notification settings - Fork 15
Isolate key checks in transforms #279
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3f11448
Decouple construction and checking in Transforms
PierreQuinton 5a97c18
add check_keys in test_stack.FakeGradientsTransform
PierreQuinton c804e5e
Fix tests checking Transforms
PierreQuinton ea5dfac
remove test_call_checks_keys
PierreQuinton 8adad9d
Add changelog entry
ValerianRey ee3e099
Extract _create_transform from backward
PierreQuinton ac2b31b
Test _create_transform
PierreQuinton 4979038
Fix mtl_backward test of create transform and check keys
PierreQuinton df6c200
Remove _compute, use __call__ instead
ValerianRey 8d3d98d
Same as before for FakeTransforms
ValerianRey 69b2f75
Rename check_keys to check_and_get_keys
ValerianRey f278a5c
Improve docstring of check_and_get_keys
ValerianRey 316d3dd
Fix tests of check_and_get_keys
ValerianRey fcd1e3b
Move check and cast to set from __init__ to check_and_get_keys in Select
ValerianRey b518046
Change test_keys_check into test_check_and_get_keys in Select
ValerianRey f490089
Add missing tests of check_and_get_keys
ValerianRey b64665b
revert cast to set in Select
PierreQuinton ab912a1
Remove check_keys_are
ValerianRey b744af0
Remove useless casting to set in Select.check_and_get_keys
ValerianRey 4f6e515
Add docstring to mtl_backward._create_transform
ValerianRey e2b3374
Rename _make_task_transform to _create_task_transform
ValerianRey ffb6d55
Uniformize test_check_create_transform for backward and mtl_backward …
ValerianRey e72d3ca
Explicitly give parameter names in calls to _create_transform
ValerianRey 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
|
ValerianRey marked this conversation as resolved.
|
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.