C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 1

List of all members
Result Class Reference

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

Class Declaration

Member Function Documentation

void add ( ResultCollectionId  id,
size_t  key,
const data_management::TensorPtr &  value 
)

Add the value to the key-value data collection of partial results

Parameters
[in]idIdentifier of the result
[in]keyKey to use to retrieve data
[in]valueResult
DAAL_EXPORT services::Status allocate ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
const int  method 
)

Registers user-allocated memory to store partial results of the neural networks model based prediction

Parameters
[in]inputPointer to an object containing input data
[in]methodComputation method for the algorithm
[in]parameterParameter of the neural networks prediction
Returns
Status of computations
services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  par,
int  method 
) const

Checks result of the neural networks algorithm

Parameters
[in]inputInput object of algorithm
[in]parParameter of algorithm
[in]methodComputation method
Returns
Status of computations
data_management::TensorPtr get ( ResultId  id) const

Returns the result of the neural networks model based prediction

Parameters
[in]idIdentifier of the result
Returns
Result that corresponds to the given identifier
data_management::KeyValueDataCollectionPtr get ( ResultCollectionId  id) const

Returns the result of the neural networks model based prediction

Parameters
[in]idIdentifier of the result
Returns
Result that corresponds to the given identifier
data_management::TensorPtr get ( ResultCollectionId  id,
size_t  key 
) const

Returns the result of the neural networks model based prediction

Parameters
[in]idIdentifier of the result
[in]keyIndex of the tensor with partial results in the key-value data collection
Returns
Result that corresponds to the given identifier
void set ( ResultId  id,
const data_management::TensorPtr &  value 
)

Sets the result of neural networks model based prediction

Parameters
[in]idIdentifier of the result
[in]valueResult
void set ( ResultCollectionId  id,
const data_management::KeyValueDataCollectionPtr &  value 
)

Sets the result of neural networks model based prediction

Parameters
[in]idIdentifier of the result
[in]valueResult

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

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