Abstract class that defines the interface of CSR numeric tables.
More...
◆ CSRIndexing
Enumerator |
---|
zeroBased | 0-based indexing
|
oneBased | 1-based indexing
|
◆ getDataSize()
virtual size_t getDataSize |
( |
| ) |
|
|
pure virtual |
Returns number of elements in values array.
- Returns
- Number of elements in values array.
Implemented in CSRNumericTable.
◆ getSparseBlock() [1/3]
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.
◆ getSparseBlock() [2/3]
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.
◆ getSparseBlock() [3/3]
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.
◆ releaseSparseBlock() [1/3]
Releases a block of feature vectors in the CSR layout.
- Parameters
-
[in] | block | The block of feature values. |
Implemented in CSRNumericTable.
◆ releaseSparseBlock() [2/3]
Releases a block of feature vectors in the CSR layout.
- Parameters
-
[in] | block | The block of feature values. |
Implemented in CSRNumericTable.
◆ releaseSparseBlock() [3/3]
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: