Input objects for layer algorithm
More...
| def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
| def addData |
( |
|
self, |
|
|
|
dataTensor, |
|
|
|
index |
|
) |
| |
Adds tensor with data to the input object of the layer algorithm
- Parameters
-
| dataTensor | Tensor with data |
| index | Index of the tensor with data |
- Returns
- Status of computations
| def check |
( |
|
self, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Checks an input object for the layer algorithm
- Parameters
-
| par | Parameter of algorithm |
| method | Computation method of the algorithm |
- Returns
- Status of computations
| def eraseInputData |
( |
|
self | ) |
|
Erases input data tensor from the input of the forward layer
- Returns
- Status of computations
| def getBiasesSizes |
( |
|
self, |
|
|
|
parameter |
|
) |
| |
Returns dimensions of biases tensor
- Returns
- Dimensions of biases tensor
| def getInput |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns input Tensor of the layer algorithm
- Parameters
-
| id | Identifier of the input tensor |
- Returns
- Input tensor that corresponds to the given identifier
| def getInputLayerData |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns input InputLayerData of the layer algorithm
- Parameters
-
| id | Identifier of the input object |
- Returns
- Input InputLayerData that corresponds to the given identifier
Returns the layout of the input object for the layer algorithm
- Returns
- Layout of the input object for the layer algorithm
| def getWeightsSizes |
( |
|
self, |
|
|
|
parameter |
|
) |
| |
Returns dimensions of weights tensor
- Returns
- Dimensions of weights tensor
| def setInput |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets input for the layer algorithm
- Parameters
-
| id | Identifier of the input object |
| ptr | Pointer to the object |
| def setInputLayerData |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets input for the layer algorithm
- Parameters
-
| id | Identifier of the input object |
| ptr | Pointer to the object |
The documentation for this class was generated from the following file: