-
Couldn't load subscription status.
- Fork 5.2k
[release/10.0-preview4] Rewrite of System.Numerics.Tensors to allow for more code sharing, various correctness fixes, and stability improvements #114979
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
Conversation
…qual, and the *All/*Any variants
* Refactor Tensor to be more reusable and validate appropriate state * finishing tensor primitives work --------- Co-authored-by: Tanner Gooding <[email protected]>
* only couple left * pausing for food * fixed rented buffer * squeeze/unsqueeze * set slice/ split * only 2 left
…1, so embedded broadcasting works
* Fixing Broadcasting Loop * fixes from pr coments * squeeze fixed * unsqueeze * set slice * more tensor fies
* stack working * more tensor tests working * fix factory create tests
…ors/netcore/TensorShape.cs
|
Note regarding the |
1 similar comment
|
Note regarding the |
|
Tagging subscribers to this area: @dotnet/area-system-numerics-tensors |
|
Ping me when it's approved by Tactics and ready to merge. |
|
/ba-g Failures are known and unrelated, one of them being: #115018 |
Backport of #114927 to release/10.0-preview4
/cc @tannergooding
Customer Impact
This backports the rewrite of System.Numerics.Tensors so that it can be included in .NET 10 Preview 4, which is a key preview to get the changes in front of the community.
The rewrite was done in order to fix a number of issues and edge cases found in the initial .NET 9 preview of System.Numerics.Tensors, namely in ensuring that we have consistent and correct handling for tensors of all shapes.
Regression
This was a preview API in .NET 9.
Testing
Tests were updated to match the expected functionality, additional debug assertions were added to validate correctness, and explanatory comments were added in many locations to help explain both "how" the complex logic works and "why" certain things behave the way they do.
There is still more tests to be added, but they will go into main and are not necessary for the updated preview of System.Numerics.Tensors
Risk
Low. This was purely a preview API and exists "out of band" compared to other library APIs. That is, it requires users to explicitly add a NuGet package reference to get access to these APIs.