Provides methods to access the result obtained with the compute() method of the layer algorithm.
More...
- Deprecated:
- This item will be removed in a future release.
- Deprecated:
- This item will be removed in a future release.
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Allocates memory to store the results of layer
- Parameters
-
input | Pointer to the input structure |
par | Pointer to the parameter structure |
method | Computation method of the algorithm |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
- Full Names
allocate_Float64
is for float64
allocate_Float32
is for float32
def check |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Checks the result object for the layer algorithm
- Parameters
-
input | Input of algorithm |
parameter | Parameter of algorithm |
method | Computation method of the algorithm |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
def getGradient |
( |
|
self, |
|
|
|
index |
|
) |
| |
Returns resulting gradient of the layer algorithm
- Parameters
-
index | Index of the tensor with gradient |
- Returns
- Resulting gradient that corresponds to the given index
- Deprecated:
- This item will be removed in a future release.
Returns the layout of the result object for the layer algorithm
- Returns
- Layout of the result object for the layer algorithm
- Deprecated:
- This item will be removed in a future release.
def getResult |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns result of the layer algorithm
- Parameters
-
id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
- Deprecated:
- This item will be removed in a future release.
def getResultLayerData |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns result InputLayerData of the layer algorithm
- Parameters
-
id | Identifier of the result object |
- Returns
- Resulting InputLayerData that corresponds to the given identifier
- Deprecated:
- This item will be removed in a future release.
def getSerializationTag |
( |
|
self | ) |
|
- Deprecated:
- This item will be removed in a future release.
def setResult |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the result of the layer algorithm
- Parameters
-
id | Identifier of the result |
ptr | Pointer to the result |
- Deprecated:
- This item will be removed in a future release.
def setResultLayerData |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets result for the layer algorithm
- Parameters
-
id | Identifier of the result 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: