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

List of all members
Result Class Reference

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

Constructor & Destructor Documentation

◆ Result()

Result ( )

Default constructor

Member Function Documentation

◆ allocate()

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 the forward abs layer

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

◆ check()

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

Checks the result of the forward abs layer

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

Reimplemented from Result.

◆ get()

data_management::TensorPtr get ( LayerDataId  id) const

Returns result of the forward abs layer

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

◆ getValueSize()

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

Returns dimensions of value tensor

Returns
Dimensions of value tensor

Implements Result.

◆ set()

void set ( LayerDataId  id,
const data_management::TensorPtr &  value 
)

Sets the result of the forward abs layer

Parameters
[in]idIdentifier of the result
[in]valuePointer to the object

◆ setResultForBackward()

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

Sets the result that is used in backward abs layer

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

Reimplemented from Result.


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

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