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

List of all members
Result Class Reference

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

Class Declaration

Deprecated:
This item will be removed in a future release.

Constructor & Destructor Documentation

DAAL_DEPRECATED Result ( )
Deprecated:
This item will be removed in a future release.
virtual ~Result ( )
inlinevirtual
Deprecated:
This item will be removed in a future release.

Member Function Documentation

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
Deprecated:
This item will be removed in a future release.
services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
int  method 
) const

Checks the result object for the layer algorithm

Parameters
[in]inputInput of algorithm
[in]parameterParameter of algorithm
[in]methodComputation method of the algorithm
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
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
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED LayerDataPtr get ( backward::ResultLayerDataId  id) const

Returns result InputLayerData of the layer algorithm

Parameters
[in]idIdentifier of the result object
Returns
Resulting InputLayerData that corresponds to the given identifier
Deprecated:
This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL data_management::TensorPtr getGradient ( size_t  index) const
virtual

Returns resulting gradient of the layer algorithm

Parameters
[in]indexIndex of the tensor with gradient
Returns
Resulting gradient that corresponds to the given index
Deprecated:
This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL LayerResultLayout getLayout ( ) const
virtual

Returns the layout of the result object for the layer algorithm

Returns
Layout of the result object for the layer algorithm
Deprecated:
This item will be removed in a future release.
int getSerializationTag ( ) const
inline

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

Returns
Serialization tag
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED 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
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED void set ( ResultLayerDataId  id,
const LayerDataPtr &  ptr 
)

Sets result for the layer algorithm

Parameters
[in]idIdentifier of the result object
[in]ptrPointer to the object
Deprecated:
This item will be removed in a future release.

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

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