Provides methods to access result obtained with the compute() method of the neural networks prediction algorithm.
More...
| 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 |
| 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
- 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
| 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
| 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
| 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
| 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 |
| def setResultCollection |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets the result of neural networks model based prediction
- Parameters
-
| id | Identifier of the result |
| value | Result |
The documentation for this class was generated from the following file:
- neural_networks/prediction.py