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

List of all members
Result Class Reference

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

Additional Inherited Members

- Static Protected Member Functions inherited from Argument
static data_management::DataCollectionPtr & getStorage (Argument &a)
 
static const data_management::DataCollectionPtr & getStorage (const Argument &a)
 

Class Declaration

Member Function Documentation

◆ add()

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

◆ allocate()

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

◆ check()

services::Status check ( const daal::algorithms::Input input,
const daal::algorithms::Parameter par,
int  method 
) const
virtual

Checks result of the neural networks algorithm

Parameters
[in]inputInput object of algorithm
[in]parParameter of algorithm
[in]methodComputation method
Returns
Status of computations

Reimplemented from Result.

◆ get() [1/3]

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

◆ get() [2/3]

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

◆ get() [3/3]

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

◆ set() [1/2]

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

◆ set() [2/2]

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.