C++ API Reference for Intel® Data Analytics Acceleration Library 2019

List of all members

Results obtained with the compute() method of the forward element-wise sum layer in the batch processing mode. 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 forward element-wise sum layer

Parameters
[in]inputInput object for the algorithm
[in]parameterParameter of forward element-wise sum layer
[in]methodComputation method for the layer
Returns
Status of computations
virtual services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  par,
int  method 
) const
virtual

Checks the result of the forward 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 ( LayerDataId  id) const

Returns the result tensor of forward element-wise sum layer

Parameters
[in]idIdentifier of the result tensor
Returns
Result tensor that corresponds to the given identifier
data_management::NumericTablePtr get ( LayerDataNumericTableId  id) const

Returns the result numeric table of the forward element-wise sum layer

Parameters
[in]idIdentifier of the result numeric table
Returns
Result numeric table that corresponds to the given identifier
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
virtual services::Collection<size_t> getValueSize ( const services::Collection< services::Collection< size_t > > &  inputSize,
const daal::algorithms::Parameter *  parameter,
const int  method 
)
virtual

Returns collection of dimensions of element-wise sum layer output

Parameters
[in]inputSizeCollection of input tensors dimensions
[in]parameterParameters of the algorithm
[in]methodMethod of the algorithm
Returns
Collection of dimensions of element-wise sum layer output
void set ( LayerDataId  id,
const data_management::TensorPtr &  value 
)

Sets the result tensor of forward element-wise sum layer

Parameters
[in]idIdentifier of the result tensor
[in]valueResult tensor
void set ( LayerDataNumericTableId  id,
const data_management::NumericTablePtr &  value 
)

Sets the result numeric table of the forward element-wise sum layer

Parameters
[in]idIdentifier of the result numeric table
[in]valueResult numeric tensor
virtual services::Status setResultForBackward ( const daal::algorithms::Input *  input)
virtual

Sets the result that is used in backward layer

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

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

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