Input objects for layer algorithm
More...
◆ Input()
Input |
( |
size_t |
nElements = lastInputLayerDataId+1 | ) |
|
Constructs input objects for the forward layer of neural network
- Parameters
-
[in] | nElements | Number of input objects for the forward layer |
◆ addData()
virtual services::Status addData |
( |
const data_management::TensorPtr & |
dataTensor, |
|
|
size_t |
index |
|
) |
| |
|
virtual |
Adds tensor with data to the input object of the layer algorithm
- Parameters
-
[in] | dataTensor | Tensor with data |
[in] | index | Index of the tensor with data |
- Returns
- Status of computations
Reimplemented in Input, and Input.
◆ check()
Checks an input object for the layer algorithm
- Parameters
-
[in] | par | Parameter of algorithm |
[in] | method | Computation method of the algorithm |
- Returns
- Status of computations
Reimplemented from Input.
Reimplemented in Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, and Input.
◆ eraseInputData()
Erases input data tensor from the input of the forward layer
- Returns
- Status of computations
Reimplemented in Input, and Input.
◆ get() [1/2]
Returns input Tensor of the layer algorithm
- Parameters
-
[in] | id | Identifier of the input tensor |
- Returns
- Input tensor that corresponds to the given identifier
◆ get() [2/2]
Returns input InputLayerData of the layer algorithm
- Parameters
-
[in] | id | Identifier of the input object |
- Returns
- Input InputLayerData that corresponds to the given identifier
◆ getBiasesSizes()
Returns dimensions of biases tensor
- Returns
- Dimensions of biases tensor
Reimplemented in Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, and Input.
◆ getLayout()
Returns the layout of the input object for the layer algorithm
- Returns
- Layout of the input object for the layer algorithm
Reimplemented in Input.
◆ getWeightsSizes()
Returns dimensions of weights tensor
- Returns
- Dimensions of weights tensor
Reimplemented in Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, and Input.
◆ set() [1/2]
void set |
( |
InputId |
id, |
|
|
const data_management::TensorPtr & |
ptr |
|
) |
| |
Sets input for the layer algorithm
- Parameters
-
[in] | id | Identifier of the input object |
[in] | ptr | Pointer to the object |
◆ set() [2/2]
Sets input for the layer algorithm
- Parameters
-
[in] | id | Identifier of the input object |
[in] | ptr | Pointer to the object |
The documentation for this class was generated from the following file: