Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 4

List of all members
PredictionBatch Class Reference

Provides methods for neural network model-based prediction in the batch processing mode. More...

Class Constructor

PredictionBatch ( DaalContext  context,
Class<?extends Number >  cls,
PredictionMethod  method 
)

Constructs neural network

Parameters
contextContext to manage the neural network
clsData type to use in intermediate computations for the neural network, Double.class or Float.class
methodNeural network computation method, PredictionMethod
PredictionBatch ( DaalContext  context,
Class<?extends Number >  cls 
)

Constructs neural network with default computation method

Parameters
contextContext to manage the neural network
clsData type to use in intermediate computations for the neural network, Double.class or Float.class

Constructs neural network with Float data type used for intermediate computations and default computation method

Parameters
contextContext to manage the neural network
PredictionBatch ( DaalContext  context,
PredictionBatch  other 
)

Constructs neural network by copying input objects and parameters of another neural network

Parameters
contextContext to manage the neural network
otherA neural network to be used as the source to initialize the input objects and parameters of the neural network

Detailed Description

Member Function Documentation

PredictionBatch clone ( DaalContext  context)

Returns the newly allocated neural network with a copy of input objects and parameters of this neural network

Parameters
contextContext to manage the neural network
Returns
The newly allocated neural network
PredictionResult compute ( )

Runs the neural network in the batch processing mode

Returns
Results of the neural network in the batch processing mode
void setResult ( PredictionResult  result)

Registers user-allocated memory to store the results of the neural network in the batch processing mode

Parameters
resultStructure for storing the results of the neural network

Member Data Documentation

Input data structure

Neural network prediction method

Prediction parameters

Precision prec
protected

Data type to use in intermediate computations for neural network model-based prediction


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.