Class for a data management component responsible for representation of data in the n-dimensions numeric format. This class implements the most general methods for data access.
More...
◆ Tensor() [1/2]
Constructor for a Tensor with predefined layout
- Parameters
-
[in] | layoutPtr | Pointer to the Tensor Layout |
- Deprecated:
- This item will be removed in a future release.
◆ Tensor() [2/2]
Constructor for an empty Tenor
◆ allocateDataMemory()
Allocates memory for a data set
- Deprecated:
- This item will be removed in a future release.
Implements TensorIface.
◆ check()
Checks the correctness of this tensor
- Parameters
-
[in] | description | Additional information about error |
- Returns
- Check status: True if the tensor satisfies the requirements, false otherwise.
Implements TensorIface.
◆ freeDataMemory()
Deallocates the memory allocated for a data set
- Deprecated:
- This item will be removed in a future release.
Implements TensorIface.
◆ getDataMemoryStatus()
Gets the status of the memory used by a data set connected with a Tensor
◆ getDimensions()
Gets the size of dimensions in the Tensor
- Returns
- Collection with sizes for each dimension
◆ getDimensionSize()
size_t getDimensionSize |
( |
size_t |
dimIdx | ) |
const |
|
inline |
Gets the size of the dimension in the Tensor
- Parameters
-
[in] | dimIdx | Index of dimension |
- Returns
- Dimension size
◆ getErrors()
Returns errors during the computation
- Returns
- Errors during the computation
- Deprecated:
- This item will be removed in a future release.
◆ getNumberOfDimensions()
size_t getNumberOfDimensions |
( |
| ) |
const |
|
inline |
Gets the number of dimensions in the Tensor
- Returns
- Number of dimensions
◆ getSize() [1/2]
Returns the full size of the tensor in number of elements
- Returns
- The full size of the tensor in number of elements
◆ getSize() [2/2]
size_t getSize |
( |
size_t |
startingIdx, |
|
|
size_t |
rangeSize |
|
) |
| const |
Returns the product of sizes of the range of dimensions
- Parameters
-
[in] | startingIdx | The first dimension to include in the range |
[in] | rangeSize | Number of dimensions to include in the range |
- Returns
- The product of sizes of the range of dimensions
The documentation for this class was generated from the following file: