Developer Guide

Contents

Prediction

Algorithm Input

Neural network prediction algorithm in the batch processing mode accepts the following input. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.
Input ID
Input
data
Pointer to the tensor of size
n
1
x
n
2
x ... x
n
p
that stores the neural network input data. This input can be an object of any class derived from
Tensor
.
model
Trained model with the optimum set of weights and biases. The result can only be an object of the
Model
class.

Algorithm Parameters

Neural network prediction algorithm in the batch processing mode has the following parameters:
Parameter
Default Value
Description
algorithmFPType
float
The floating-point type that the algorithm uses for intermediate computations. Can be
float
or
double
.
method
defaultDense
Performance-oriented computation method.
nIterations
1000
The number of iterations.
batchSize
1
The number of samples simultaneously used for prediction.

Algorithm Output

Neural network prediction algorithm in the batch processing mode calculates the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms.
Result ID
Result
prediction
Pointer to the tensor of size
n
1
that stores the predicted result for each sample. This input can be an object of any class derived from
Tensor
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804