Input parameters for the layer algorithm
More...
- Deprecated:
- This item will be removed in a future release.
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
- Deprecated:
- This item will be removed in a future release.
- Variant 2
- Deprecated:
- This item will be removed in a future release.
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
- Deprecated:
- This item will be removed in a future release.
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
- Deprecated:
- This item will be removed in a future release.
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
- Deprecated:
- This item will be removed in a future release.
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
- Deprecated:
- This item will be removed in a future release.
Returns the layout of the input object for the layer algorithm
- Returns
- Layout of the input object for the layer algorithm
- Deprecated:
- This item will be removed in a future release.
def setInput |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets input for the layer algorithm
- Parameters
-
id | Identifier of the input object |
ptr | Pointer to the object |
- Deprecated:
- This item will be removed in a future release.
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
- Deprecated:
- This item will be removed in a future release.
def setInputLayerData |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets input for the layer algorithm
- Parameters
-
id | Identifier of the input object |
ptr | Pointer to the object |
- Deprecated:
- This item will be removed in a future release.
The documentation for this class was generated from the following file: