Provides methods to access the result obtained with the compute() method of the layer algorithm.
More...
◆ allocate()
Allocates memory to store the results of layer
- Parameters
-
[in] | input | Pointer to the input structure |
[in] | par | Pointer to the parameter structure |
[in] | method | Computation method of the algorithm |
- Returns
- Status of computations
◆ check()
Checks the result object for the layer algorithm
- Parameters
-
[in] | input | Input of algorithm |
[in] | parameter | Parameter of algorithm |
[in] | method | Computation method of the algorithm |
- Returns
- Status of computations
Reimplemented from Result.
Reimplemented in Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, and Result.
◆ get() [1/2]
data_management::TensorPtr get |
( |
ResultId |
id | ) |
const |
Returns result of the layer algorithm
- Parameters
-
[in] | id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
◆ get() [2/2]
Returns result InputLayerData of the layer algorithm
- Parameters
-
[in] | id | Identifier of the result object |
- Returns
- Resulting InputLayerData that corresponds to the given identifier
◆ getGradient()
virtual data_management::TensorPtr getGradient |
( |
size_t |
index | ) |
const |
|
virtual |
Returns resulting gradient of the layer algorithm
- Parameters
-
[in] | index | Index of the tensor with gradient |
- Returns
- Resulting gradient that corresponds to the given index
Reimplemented in Result, and Result.
◆ getLayout()
Returns the layout of the result object for the layer algorithm
- Returns
- Layout of the result object for the layer algorithm
Reimplemented in Result, and Result.
◆ getSerializationTag()
int getSerializationTag |
( |
| ) |
const |
|
inlinevirtual |
Returns a serialization tag, a unique identifier of this class used in serialization
- Returns
- Serialization tag
Reimplemented from Result.
◆ set() [1/2]
void set |
( |
ResultId |
id, |
|
|
const data_management::TensorPtr & |
ptr |
|
) |
| |
Sets the result of the layer algorithm
- Parameters
-
[in] | id | Identifier of the result |
[in] | ptr | Pointer to the result |
◆ set() [2/2]
Sets result for the layer algorithm
- Parameters
-
[in] | id | Identifier of the result object |
[in] | ptr | Pointer to the object |
The documentation for this class was generated from the following file: