[API Proposal]: Non-Generic base type #111968
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.Numerics.Tensors
untriaged
New issue has not been triaged by the area owner
Background and motivation
We currently do not have a non-generic base type for
Tensor
. This is fine, but there are many times you need info about theTensor
(its rank, lengths of dimenions, etc) and you can get this info without needing to know or care about the generic type itself. We need to add a base type that will better facilitate this.We can evaluate whether we need to add more methods, maybe involving boxing, as time goes on.
API Proposal
API Usage
Alternative Designs
Potentially have more methods for getting data involving boxing.
Risks
Low risk because it's a preview type, but because we are changing the class heirarchy there is more than none.
The text was updated successfully, but these errors were encountered: