-
Notifications
You must be signed in to change notification settings - Fork 58
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
Create shared function to handle complex casting | fix(torchlib) #1147
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1147 +/- ##
==========================================
+ Coverage 78.46% 78.51% +0.04%
==========================================
Files 118 118
Lines 15156 15161 +5
Branches 1619 1619
==========================================
+ Hits 11892 11903 +11
+ Misses 2888 2881 -7
- Partials 376 377 +1
|
Test Results 18 files ±0 18 suites ±0 1h 20m 44s ⏱️ - 4m 6s For more details on these failures, see this check. Results for commit b856321. ± Comparison against base commit ec0fe03. This pull request removes 163 and adds 163 tests. Note that renamed tests count towards both.
|
pytorch/pytorch#113444 Exposed an error where when
dtype=torch.complex64
inaten_scalar_tensor_sym_number
, we produce a node with it output being complex. This change extracts the logic fromprims::convert_element_type
to a common function to handle complex dtypes.Adds complex test for
scalar_tensor
.