-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[BC-breaking] Remove _new_empty_tensor op #3156
[BC-breaking] Remove _new_empty_tensor op #3156
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3156 +/- ##
==========================================
+ Coverage 72.75% 72.79% +0.03%
==========================================
Files 99 98 -1
Lines 8979 8964 -15
Branches 1431 1430 -1
==========================================
- Hits 6533 6525 -8
+ Misses 1999 1992 -7
Partials 447 447
Continue to review full report at Codecov.
|
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.
Thanks!
@@ -76,20 +76,6 @@ def to_numpy(tensor): | |||
else: | |||
raise | |||
|
|||
@unittest.skip("Disable test until Split w/ zero sizes is implemented in ORT") | |||
def test_new_empty_tensor(self): |
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.
My initial reaction was to keep this test, as it's not using the new_empty_tensor
op but instead tries to enforce that nn.Conv2d
support empty batch sizes (which was the original use-case for having a new_empty_tensor
)
But given that this test has been disabled for a long time, let's just remove it.
Summary: Co-authored-by: Francisco Massa <fvsmassa@gmail.com> Reviewed By: datumbox Differential Revision: D25531033 fbshipit-source-id: 735bdd211edfb49bc97fae8558049214d6a4b169
If we merge this PR, we should clean up the single FBCode ref post merge.