Abstract class that defines the interface of CSR numeric tables.
More...
| Enumerator |
|---|
| zeroBased |
0-based indexing
|
| oneBased |
1-based indexing
|
| virtual size_t getDataSize |
( |
| ) |
|
|
pure virtual |
Returns number of elements in values array.
- Returns
- Number of elements in values array.
Implemented in CSRNumericTable.
| virtual services::Status getSparseBlock |
( |
size_t |
vector_idx, |
|
|
size_t |
vector_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
CSRBlockDescriptor< double > & |
block |
|
) |
| |
|
pure virtual |
Gets a block of feature vectors in the CSR layout.
- Parameters
-
| [in] | vector_idx | Index of the first row to include into the block. |
| [in] | vector_num | Number of rows in the block. |
| [in] | rwflag | Flag specifying read/write access to the block of feature vectors. |
| [out] | block | The block of feature values. |
- Returns
- Actual number of feature vectors returned by the method.
Implemented in CSRNumericTable.
| virtual services::Status getSparseBlock |
( |
size_t |
vector_idx, |
|
|
size_t |
vector_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
CSRBlockDescriptor< float > & |
block |
|
) |
| |
|
pure virtual |
Gets a block of feature vectors in the CSR layout.
- Parameters
-
| [in] | vector_idx | Index of the first row to include into the block. |
| [in] | vector_num | Number of rows in the block. |
| [in] | rwflag | Flag specifying read/write access to the block of feature vectors. |
| [out] | block | The block of feature values. |
- Returns
- Actual number of feature vectors returned by the method.
Implemented in CSRNumericTable.
| virtual services::Status getSparseBlock |
( |
size_t |
vector_idx, |
|
|
size_t |
vector_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
CSRBlockDescriptor< int > & |
block |
|
) |
| |
|
pure virtual |
Gets a block of feature vectors in the CSR layout.
- Parameters
-
| [in] | vector_idx | Index of the first row to include into the block. |
| [in] | vector_num | Number of rows in the block. |
| [in] | rwflag | Flag specifying read/write access to the block of feature vectors. |
| [out] | block | The block of feature values. |
- Returns
- Actual number of feature vectors returned by the method.
Implemented in CSRNumericTable.
Releases a block of feature vectors in the CSR layout.
- Parameters
-
| [in] | block | The block of feature values. |
Implemented in CSRNumericTable.
Releases a block of feature vectors in the CSR layout.
- Parameters
-
| [in] | block | The block of feature values. |
Implemented in CSRNumericTable.
Releases a block of feature vectors in the CSR layout.
- Parameters
-
| [in] | block | The block of feature values. |
Implemented in CSRNumericTable.
The documentation for this class was generated from the following file: