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

List of all members
Result Class Referenceabstract

Provides methods to access the result obtained with the compute() method of the layer 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

◆ allocate()

services::Status allocate ( const daal::algorithms::Input input,
const daal::algorithms::Parameter par,
const int  method 
)
inline

Allocates memory to store the results of layer

Parameters
[in]inputPointer to the input structure
[in]parPointer to the parameter structure
[in]methodComputation method of the algorithm
Returns
Status of computations

◆ check()

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

Checks the result object for the layer algorithm

Parameters
[in]inputInput of the algorithm
[in]parameterParameter of algorithm
[in]methodComputation method of the algorithm
Returns
Status of computations

Reimplemented from Result.

Reimplemented in Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, and Result.

◆ get() [1/2]

data_management::TensorPtr get ( ResultId  id) const

Returns result of the layer algorithm

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

◆ get() [2/2]

LayerDataPtr get ( ResultLayerDataId  id) const

Returns result of the layer algorithm

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

◆ getLayout()

virtual LayerResultLayout getLayout ( )
virtual

Returns the layout of the result object for the layer algorithm

Returns
Layout of the result object for the layer algorithm

Reimplemented in Result.

◆ getSerializationTag()

int getSerializationTag ( ) const
inlinevirtual

Returns a serialization tag, a unique identifier of this class used in serialization

Returns
Serialization tag

Reimplemented from Result.

◆ getValue()

virtual data_management::TensorPtr getValue ( size_t  index) const
virtual

Returns resulting value of the layer algorithm

Parameters
[in]indexIndex of the tensor with value
Returns
Resulting value that corresponds to the given index

Reimplemented in Result.

◆ getValueCollectionSize()

virtual services::Collection< services::Collection<size_t> > getValueCollectionSize ( const services::Collection< size_t > &  inputSize,
const daal::algorithms::Parameter par,
const int  method 
)
virtual

Returns collection of dimensions of layer output

Parameters
[in]inputSizeCollection of input tensor dimensions
[in]parParameters of the algorithm
[in]methodMethod of the algorithm
Returns
Collection of dimensions of layer output

Reimplemented in Result.

◆ getValueSize() [1/2]

virtual const services::Collection<size_t> getValueSize ( const services::Collection< size_t > &  inputSize,
const daal::algorithms::Parameter par,
const int  method 
) const
pure virtual

Returns collection of dimensions of layer output

Parameters
[in]inputSizeCollection of input tensor dimensions
[in]parParameters of the algorithm
[in]methodMethod of the algorithm
Returns
Collection of dimensions of layer output

Implemented in Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, and Result.

◆ getValueSize() [2/2]

virtual services::Collection<size_t> getValueSize ( const services::Collection< services::Collection< size_t > > &  inputSize,
const daal::algorithms::Parameter par,
const int  method 
)
virtual

Returns collection of dimensions of layer output

Parameters
[in]inputSizeCollection of input tensors dimensions
[in]parParameters of the algorithm
[in]methodMethod of the algorithm
Returns
Collection of dimensions of layer output

Reimplemented in Result, and Result.

◆ set() [1/2]

void set ( ResultId  id,
const data_management::TensorPtr &  ptr 
)

Sets the result of the layer algorithm

Parameters
[in]idIdentifier of the result
[in]ptrPointer to the result

◆ set() [2/2]

void set ( ResultLayerDataId  id,
const LayerDataPtr &  ptr 
)

Sets the result of the layer algorithm

Parameters
[in]idIdentifier of the result
[in]ptrPointer to the result

◆ setResultForBackward()

virtual services::Status setResultForBackward ( const daal::algorithms::Input input)
inlinevirtual

Sets the result that is used in backward layer

Parameters
[in]inputPointer to an object containing the input data
Returns
Status of computations

Reimplemented in Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, Result, and Result.


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

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