Provides methods to access the result obtained with the compute() method of the forward split layer.
More...
◆ allocate()
Allocates memory to store the result of the forward split layer
- Parameters
-
[in] | input | Pointer to an object containing the input data |
[in] | parameter | Parameter of the algorithm |
[in] | method | Computation method for the algorithm |
- Returns
- Status of computations
◆ check()
Checks the result of the forward split layer
- Parameters
-
[in] | input | Input object for the algorithm |
[in] | par | Parameter of the algorithm |
[in] | method | Computation method |
- Returns
- Status of computations
Reimplemented from Result.
◆ get() [1/2]
Returns a tensor with a given index from the result
- Parameters
-
[in] | id | Identifier of the collection of input tensors |
[in] | index | Index of the tensor to be returned |
- Returns
- Pointer to the table with the input tensor
◆ get() [2/2]
Returns result of the layer algorithm
- Parameters
-
[in] | id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
◆ getLayout()
Returns the layout of the result object for the layer algorithm
- Returns
- Layout of the result object for the layer algorithm
Reimplemented from Result.
◆ getValue()
virtual data_management::TensorPtr getValue |
( |
size_t |
index | ) |
const |
|
virtual |
Returns resulting value of the forward split layer
- Parameters
-
[in] | index | Index of the tensor with value |
- Returns
- Resulting value that corresponds to the given index
Reimplemented from Result.
◆ getValueCollectionSize()
Returns collection of dimensions of split layer output
- Parameters
-
[in] | inputSize | Collection of input tensor dimensions |
[in] | parameter | Parameters of the algorithm |
[in] | method | Method of the algorithm |
- Returns
- Collection of dimensions of split layer output
Reimplemented from Result.
◆ getValueSize()
Returns collection of dimensions of split layer output
- Parameters
-
[in] | inputSize | Collection of input tensor dimensions |
[in] | par | Parameters of the algorithm |
[in] | method | Method of the algorithm |
- Returns
- Collection of dimensions of split layer output
Implements Result.
◆ set() [1/2]
Sets the result of the forward split layer
- Parameters
-
[in] | id | Identifier of the result |
[in] | value | Result |
◆ set() [2/2]
void set |
( |
ResultLayerDataId |
id, |
|
|
const data_management::TensorPtr & |
value, |
|
|
size_t |
index |
|
) |
| |
Sets the result of the forward split layer
- Parameters
-
[in] | id | Identifier of the result |
[in] | value | Result |
[in] | index | Index of the result |
The documentation for this class was generated from the following file: