-
Notifications
You must be signed in to change notification settings - Fork 24.8k
[primTorch] Implement NLL loss reference #81128
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
2256d36
Initial nll_loss implementation
rdspring1 b1393e5
fixup
rdspring1 f72db25
Disable validate_view_consistency check
rdspring1 055e0e2
Merge 1d and 2d nll_loss functions
rdspring1 96cc303
Add target class check - disabled because of FakeTensor
rdspring1 370bc60
refactor helper function
rdspring1 612ce91
Merge branch 'master' of github.com:rdspring1/pytorch into ref_nll_loss
rdspring1 e7a3ae4
Merge branch 'master' of github.com:rdspring1/pytorch into ref_nll_loss
rdspring1 44702b8
Address comments - rnd 1
rdspring1 c71d746
fixup
rdspring1 e0554f2
Refactor class weight selection
rdspring1 6aa6b62
Add comments
rdspring1 dde53e3
Replace 4-D case for image inputs with general 3-D case
rdspring1 4df9971
Merge branch 'master' of github.com:rdspring1/pytorch into ref_nll_loss
rdspring1 39883b6
add comments
rdspring1 1a635cd
Merge branch 'master' of github.com:rdspring1/pytorch into ref_nll_loss
rdspring1 590866b
A
8000
dd class check
rdspring1 1b88f57
Add FakeTensor Issue
rdspring1 c59279e
add zero-dim check
rdspring1 e6d01e4
Merge branch 'master' of github.com:rdspring1/pytorch into ref_nll_loss
rdspring1 f2c9c3f
Update comments
rdspring1 10b85ff
fixup
rdspring1 96a6142
Merge branch 'master' of github.com:rdspring1/pytorch into ref_nll_loss
rdspring1 6cbdf01
lint
rdspring1 746a60e
Merge branch 'master' of github.com:rdspring1/pytorch into ref_nll_loss
rdspring1 e1eb641
Merge branch 'master' of github.com:rdspring1/pytorch into ref_nll_loss
rdspring1 ef5719e
PR comments
rdspring1 76bfc80
update test args
rdspring1 3cd82ab
add type promotion wrapper
rdspring1 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
Prev
Previous commit
add type promotion wrapper
- Loading branch information
commit 3cd82ab2f51a8f28c870c35d751565a727af6c37
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
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.
try wrapping with type promotion decorator