Provides methods to access the result obtained with the compute() method of the forward relu layer.
More...
◆ allocate()
Allocates memory to store the result of the forward relu 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 relu 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()
Returns the result of the forward relu layer
- Parameters
-
[in] | id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
◆ getValueSize()
Returns dimensions of value tensor
- Returns
- Dimensions of value tensor
Implements Result.
◆ set()
void set |
( |
LayerDataId |
id, |
|
|
const data_management::TensorPtr & |
value |
|
) |
| |
Sets the result of the forward relu layer
- Parameters
-
[in] | id | Identifier of the result |
[in] | value | Result |
◆ setResultForBackward()
Sets the result that is used in backward relu layer
- Parameters
-
[in] | input | Pointer to an object containing the input data |
- Returns
- Status of computations
Reimplemented from Result.
The documentation for this class was generated from the following file: