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.
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
feat: consistent type embedding #3617
feat: consistent type embedding #3617
Changes from 2 commits
1f86745
1c45d70
28cd0a7
d8b1967
36b864d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 2 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L2
Check warning on line 7 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L7
Check warning on line 9 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L9
Check warning on line 13 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L13
Check warning on line 16 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L16
Check warning on line 21 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L21
Check warning on line 44 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L44
Check warning on line 64 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L56-L64
Check warning on line 72 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L72
Check warning on line 74 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L74
Check warning on line 79 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L77-L79
Check warning on line 82 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L81-L82
Check warning on line 98 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L95-L98
Check warning on line 103 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L100-L103
Check warning on line 105 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L105
Check warning on line 113 in deepmd/dpmodel/utils/type_embed.py
Codecov / codecov/patch
deepmd/dpmodel/utils/type_embed.py#L113
Check warning on line 12 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L12
Check warning on line 18 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L18
Check warning on line 563 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L563
Check warning on line 582 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L582
Check warning on line 601 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L601
Check warning on line 624 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L624
Check warning on line 646 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L637-L646
Check warning on line 648 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L648
Check warning on line 656 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L655-L656
Check warning on line 658 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L658
Check warning on line 666 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L666
Check warning on line 670 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L669-L670
Check warning on line 673 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L673
Check warning on line 676 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L675-L676
Check warning on line 692 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L689-L692
Check warning on line 697 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L694-L697
Check warning on line 699 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L699
Check warning on line 707 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L707
Check warning on line 149 in deepmd/tf/model/multi.py
Codecov / codecov/patch
deepmd/tf/model/multi.py#L149
Check warning on line 80 in deepmd/tf/model/pairwise_dprc.py
Codecov / codecov/patch
deepmd/tf/model/pairwise_dprc.py#L80