Results obtained with the compute() method of the backward element-wise sum layer.
More...
◆ Result()
◆ allocate()
Allocates memory to store the result of backward element-wise sum layer
- Parameters
-
[in] | input | Object containing the input data |
[in] | parameter | Parameter of backward element-wise sum layer |
[in] | method | Computation method |
- Returns
- Status of computations
◆ check()
Checks the result of the element-wise sum layer
- Parameters
-
[in] | input | Input object of the layer |
[in] | par | Parameter of the layer |
[in] | method | Computation method of the layer |
- Returns
- Status of computations
Reimplemented from Result.
◆ get()
Returns the result tensor of the backward element-wise layer
- Parameters
-
[in] | id | Identifier of the result tensor |
[in] | index | Index of the result tensor |
- Returns
- Input tensor that corresponds to the given identifier
◆ getGradient()
virtual data_management::TensorPtr getGradient |
( |
size_t |
index | ) |
const |
|
virtual |
Returns resulting gradient of the backward element-wise layer
- Parameters
-
[in] | index | Index of the tensor with gradient |
- Returns
- Resulting gradient that corresponds to the given index
Reimplemented from Result.
◆ 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.
◆ set()
Sets the result tensor for the backward element-wise layer
- Parameters
-
[in] | id | Identifier of the result tensor |
[in] | value | Pointer to the tensor |
[in] | index | Index of the result tensor |
The documentation for this class was generated from the following file: