Input parameters for the layer algorithm
More...
| def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
| def addInputGradient |
( |
|
self, |
|
|
|
igTensor, |
|
|
|
index |
|
) |
| |
Adds tensor with input gradient to the input object of the layer algorithm
- Parameters
-
| igTensor | Tensor with input gradient |
| index | Index of the tensor with input gradient |
- 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 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 Tensor of the layer algorithm
- Parameters
-
| id | Identifier of the input tensor |
- Returns
- Input tensor 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 setInput |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets input for the layer algorithm
- Parameters
-
| id | Identifier of the input object |
| ptr | Pointer to the object |
| def setInputFromForward |
( |
|
self, |
|
|
|
result |
|
) |
| |
Sets input structure retrieved from the result of the forward layer
- Parameters
-
| result | Result of the forward layer |
- Returns
- Status of computations
| 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: