Provides methods to access result obtained with the compute() method of the neural networks prediction algorithm.
More...
- Deprecated:
- This item will be removed in a future release.
def add |
( |
|
self, |
|
|
|
id, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
Add the value to the key-value data collection of partial results
- Parameters
-
id | Identifier of the result |
key | Key to use to retrieve data |
value | Result |
- Deprecated:
- This item will be removed in a future release.
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Registers user-allocated memory to store partial results of the neural networks model based prediction
- Parameters
-
input | Pointer to an object containing input data |
method | Computation method for the algorithm |
parameter | Parameter of the neural networks prediction |
- 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, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Checks result of the neural networks algorithm
- Parameters
-
input | Input object of algorithm |
par | Parameter of algorithm |
method | Computation method |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
def get |
( |
|
self, |
|
|
|
id, |
|
|
|
key |
|
) |
| |
Returns the result of the neural networks model based prediction
- Parameters
-
id | Identifier of the result |
key | Index of the tensor with partial results in the key-value data collection |
- Returns
- Result that corresponds to the given identifier
- Deprecated:
- This item will be removed in a future release.
def getResult |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns the result of the neural networks model based prediction
- 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 getResultCollection |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns the result of the neural networks model based prediction
- 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 getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
def setResult |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets the result of neural networks model based prediction
- Parameters
-
id | Identifier of the result |
value | Result |
- Deprecated:
- This item will be removed in a future release.
def setResultCollection |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets the result of neural networks model based prediction
- Parameters
-
id | Identifier of the result |
value | Result |
- Deprecated:
- This item will be removed in a future release.
The documentation for this class was generated from the following file:
- neural_networks/prediction.py