Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
PredictionResult Class Reference

Provides methods to access result obtained with the compute() method of the neural networks prediction algorithm. More...

Class Constructor

◆ PredictionResult()

Constructs the result of the neural networks prediction algorithm

Parameters
contextContext to manage the result of the neural networks prediction algorithm

Detailed Description

Member Function Documentation

◆ add()

void add ( PredictionResultCollectionId  id,
int  key,
Tensor  val 
)

Sets the result of neural networks model based prediction

Parameters
idIdentifier of the input object
keyKey to use to retrieve data
valValue of the input object

◆ get() [1/3]

Returns the result of the neural networks model based prediction

Parameters
idIdentifier of the result
Returns
Result that corresponds to the given identifier

◆ get() [2/3]

Returns the result of the neural networks model based prediction

Parameters
idIdentifier of the result
Returns
Result that corresponds to the given identifier

◆ get() [3/3]

Tensor get ( PredictionResultCollectionId  id,
int  key 
)

Returns the result of the neural networks model based prediction

Parameters
idIdentifier of the result
keyKey to use to retrieve data
Returns
Result that corresponds to the given identifier

◆ set() [1/2]

void set ( PredictionResultId  id,
Tensor  val 
)

Sets the result of neural networks model based prediction

Parameters
idIdentifier of the result
valResult that corresponds to the given identifier

◆ set() [2/2]

void set ( PredictionResultCollectionId  id,
Tensor  val 
)

Sets the result of neural networks model based prediction

Parameters
idIdentifier of the result
valResult that corresponds to the given identifier

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

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