-
Notifications
You must be signed in to change notification settings - Fork 6k
[Dy2stat] Support InputSpec and Return callable class instance in @declarative #25960
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 all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
d66b37b
add variableSpec
Aurelius84 aa5f696
add unittest for tensorSpec and SimpleNet
Aurelius84 8d35104
refine code
Aurelius84 19dad37
fix unittest failed
Aurelius84 8d3e936
Merge remote-tracking branch 'upstream/develop' into input_spec
Aurelius84 165b7fc
fix unittest failed
Aurelius84 d4300eb
remove print statment
Aurelius84 7d6d5ce
specific gast==0.3.3
Aurelius84 0b91df0
rm uncomment code
Aurelius84 3dd8ddb
fix compatibility with Py2 and Py3
Aurelius84 4022d6b
add get_concrete_program interface
Aurelius84 a89c5d2
fix full_name unittest failed
Aurelius84 c6bfcb1
fix import error
Aurelius84 41eec74
fix typo
Aurelius84 9ac061c
Fix TODO in test_error
Aurelius84 e6d044e
add unittest for prune with input_spec
Aurelius84 ddf9863
refine code and comment
Aurelius84 5f4c264
fix conflict
Aurelius84 e191e94
rename Translator into StaticLayer
Aurelius84 7b49c91
Merge remote-tracking branch 'upstream/develop' into input_spec
Aurelius84 403849f
merge develop
Aurelius84 299d13d
fix unwrap function name
Aurelius84 4cffdcf
refine code and file name
Aurelius84 e76dabc
Merge remote-tracking branch 'upstream/develop' into input_spec
Aurelius84 fa4482e
refine Input.py code
Aurelius84 5e1ad4a
add verifying shape is None in inputSpec
Aurelius84 de68ea4
Merge remote-tracking branch 'upstream/develop' into input_spec
Aurelius84 5a343c1
rm __slots__ in input.py
Aurelius84 b85dd8e
fix sample code failure
Aurelius84 7424799
add sample code of InputSpec's interface
Aurelius84 f899443
fix Arg typo
Aurelius84 ab27d94
modify according reviewer advice
Aurelius84 c4bbd04
Merge upstream/develop
Aurelius84 5ab6f30
modify according to reviewer advise
Aurelius84 5cfcec3
fix try/except
Aurelius84 d911902
Enrich doc in InputSpec
Aurelius84 4d4901f
fix problem with parsing sample code in en doc
Aurelius84 0f0b863
Merge remote-tracking branch 'upstream/develop' into input_spec
Aurelius84 b922612
Replace concrete_program in model.py
Aurelius84 be9ddd4
modify declarative into to_static
Aurelius84 69c480b
Enrich comment about __hash__ in InputSpec
Aurelius84 214a6c3
refine sampple code according to TPM advise
Aurelius84 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
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.