Input objects for the forward element-wise sum layer
More...
◆ Input() [1/2]
◆ Input() [2/2]
◆ addData()
virtual services::Status addData |
( |
const data_management::TensorPtr & |
dataTensor, |
|
|
size_t |
index |
|
) |
| |
|
virtual |
Adds tensor with data to the input object of the forward element-wise sum layer
- Parameters
-
[in] | dataTensor | Tensor with data |
[in] | index | Index of the tensor with data |
- Returns
- Status of computations
Reimplemented from Input.
◆ check()
Checks input object of the forward element-wise sum layer
- Parameters
-
[in] | parameter | Parameter of layer |
[in] | method | Computation method of the layer |
- Returns
- Status of computations
Reimplemented from Input.
◆ eraseInputData()
Erases input data tensor from the input of the forward layer
- Returns
- Status of computations
Reimplemented from Input.
◆ get() [1/2]
data_management::TensorPtr get |
( |
InputId |
id | ) |
const |
Returns an input tensor of the forward element-wise sum layer
- Parameters
-
[in] | id | Identifier of the input tensor |
- Returns
- Input tensor that corresponds to the given identifier
◆ get() [2/2]
Returns an input tensor of the forward element-wise sum layer
- Parameters
-
[in] | id | Identifier of the input tensor |
[in] | index | Index of the input tensor |
- Returns
- Input tensor that corresponds to the given identifier
◆ set() [1/2]
void set |
( |
InputId |
id, |
|
|
const data_management::TensorPtr & |
value |
|
) |
| |
Sets an input tensor of the forward element-wise sum layer
- Parameters
-
[in] | id | Identifier of the input tensor |
[in] | value | Pointer to the tensor |
◆ set() [2/2]
Sets an input tensor for the forward element-wise sum layer
- Parameters
-
[in] | id | Identifier of the input tensor |
[in] | value | Pointer to the tensor |
[in] | index | Index of the input tensor |
The documentation for this class was generated from the following file: