SparseVectorData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a sparse vector data, which is a list of indices and a list of corresponding values, both of the same length.
public class SparseVectorData
type SparseVectorData = class
Public Class SparseVectorData
- Inheritance
-
SparseVectorData
Constructors
| SparseVectorData(List<Int64>, ReadOnlyMemory<Single>) |
Initializes a new instance of the SparseVectorData class. |
Properties
| Indices |
The indices of the sparse data. |
| Values |
The corresponding values of the sparse data, which must be the same length as the indices. |
Methods
| CreateSparseVectorData(List<Int64>, ReadOnlyMemory<Single>) |
Creates a new instance of the SparseVectorData class with the specified indices and values. |