Provides methods for neural network model-based prediction in the batch processing mode.
More...
◆ PredictionBatch() [1/4]
Constructs neural network
- Parameters
-
context | Context to manage the neural network |
cls | Data type to use in intermediate computations for the neural network, Double.class or Float.class |
method | Neural network computation method, PredictionMethod |
◆ PredictionBatch() [2/4]
Constructs neural network with default computation method
- Parameters
-
context | Context to manage the neural network |
cls | Data type to use in intermediate computations for the neural network, Double.class or Float.class |
◆ PredictionBatch() [3/4]
Constructs neural network with Float data type used for intermediate computations and default computation method
- Parameters
-
context | Context to manage the neural network |
◆ PredictionBatch() [4/4]
Constructs neural network by copying input objects and parameters of another neural network
- Parameters
-
context | Context to manage the neural network |
other | A neural network to be used as the source to initialize the input objects and parameters of the neural network |
◆ clone()
Returns the newly allocated neural network with a copy of input objects and parameters of this neural network
- Parameters
-
context | Context to manage the neural network |
- Returns
- The newly allocated neural network
◆ compute()
Runs the neural network in the batch processing mode
- Returns
- Results of the neural network in the batch processing mode
◆ setResult()
Registers user-allocated memory to store the results of the neural network in the batch processing mode
- Parameters
-
result | Structure for storing the results of the neural network |
◆ input
◆ method
Neural network prediction method
◆ parameter
◆ prec
Data type to use in intermediate computations for neural network model-based prediction
The documentation for this class was generated from the following file:
- neural_networks/prediction/PredictionBatch.java