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

List of all members
Result Class Reference

Results obtained with the compute() method of the backward element-wise sum layer. More...

Class Declaration

Constructor & Destructor Documentation

Result ( )

Default constructor

Member Function Documentation

DAAL_EXPORT services::Status allocate ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
const int  method 
)

Allocates memory to store the result of backward element-wise sum layer

Parameters
[in]inputObject containing the input data
[in]parameterParameter of backward element-wise sum layer
[in]methodComputation method
Returns
Status of computations
services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  par,
int  method 
) const

Checks the result of the element-wise sum layer

Parameters
[in]inputInput object of the layer
[in]parParameter of the layer
[in]methodComputation method of the layer
Returns
Status of computations
data_management::TensorPtr get ( layers::backward::ResultLayerDataId  id,
size_t  index 
) const

Returns the result tensor of the backward element-wise layer

Parameters
[in]idIdentifier of the result tensor
[in]indexIndex of the result tensor
Returns
Input tensor that corresponds to the given identifier
virtual data_management::TensorPtr getGradient ( size_t  index) const
virtual

Returns resulting gradient of the backward element-wise layer

Parameters
[in]indexIndex of the tensor with gradient
Returns
Resulting gradient that corresponds to the given index
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
void set ( layers::backward::ResultLayerDataId  id,
const data_management::TensorPtr &  value,
size_t  index 
)

Sets the result tensor for the backward element-wise layer

Parameters
[in]idIdentifier of the result tensor
[in]valuePointer to the tensor
[in]indexIndex of the result tensor

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

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