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

List of all members

Provides methods for the forward spatial pyramid stochastic 2D pooling layer in the batch processing mode. More...

Class Declaration

template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::neural_networks::layers::spatial_stochastic_pooling2d::forward::interface1::Batch< algorithmFPType, method >

Template Parameters
algorithmFPTypeData type to use in intermediate computations for the forward spatial pyramid stochastic 2D pooling layer, double or float
methodForward spatial pyramid stochastic 2D pooling layer method, spatial_stochastic_pooling2d::Method
Enumerations
  • Method Computation methods for the forward spatial pyramid stochastic 2D pooling layer
  • forward::InputId Identifiers of input objects for the forward spatial pyramid stochastic 2D pooling layer
  • forward::ResultId Identifiers of result objects for the forward spatial pyramid stochastic 2D pooling layer
  • forward::ResultLayerDataId Identifiers of extra results computed by the forward spatial pyramid stochastic 2D pooling layer
  • LayerDataId Identifiers of collection in result objects for the forward spatial pyramid stochastic 2D pooling layer
References

Constructor & Destructor Documentation

Batch ( size_t  pyramidHeight,
size_t  nDimensions 
)
inline

Constructs forward spatial pyramid stochastic 2D pooling layer with the provided parameters

Parameters
[in]nDimensionsNumber of dimensions in input data tensor
[in]pyramidHeightThe value of pyramid height
Batch ( Parameter &  parameter)
inline

Constructs a forward spatial pyramid stochastic 2D pooling layer in the batch processing mode and initializes its parameter with the provided parameter

Parameters
[in]parameterParameter to initialize the parameter of the layer
Batch ( const Batch< algorithmFPType, method > &  other)
inline

Constructs a forward spatial pyramid stochastic 2D pooling layer by copying input objects and parameters of another forward spatial pyramid stochastic 2D pooling layer in the batch processing mode

Parameters
[in]otherAlgorithm to use as the source to initialize the input objects and parameters of the layer

Member Function Documentation

virtual services::Status allocateResult ( )
inlinevirtual

Allocates memory to store the result of the forward spatial pyramid stochastic 2D pooling layer

Returns
Status of computations
services::SharedPtr<Batch<algorithmFPType, method> > clone ( ) const
inline

Returns a pointer to a newly allocated forward spatial pyramid stochastic 2D pooling layer with a copy of the input objects and parameters for this forward spatial pyramid stochastic 2D pooling layer in the batch processing mode

Returns
Pointer to the newly allocated layer
virtual Input* getLayerInput ( )
inlinevirtual

Returns the structure that contains the input objects of the forward spatial pyramid stochastic 2D pooling layer

Returns
Structure that contains the input objects of the forward spatial pyramid stochastic 2D pooling layer
virtual Parameter* getLayerParameter ( )
inlinevirtual

Returns the structure that contains the parameters of the forward spatial pyramid stochastic 2D pooling layer

Returns
Structure that contains the parameters of the forward spatial pyramid stochastic 2D pooling layer
layers::forward::ResultPtr getLayerResult ( )
inline

Returns the structure that contains result of the forward spatial pyramid stochastic 2D pooling layer

Returns
Structure that contains result of the forward spatial pyramid stochastic 2D pooling layer
virtual int getMethod ( ) const
inlinevirtual

Returns the method of the layer

Returns
Method of the layer
ResultPtr getResult ( )
inline

Returns the structure that contains the result of the forward spatial pyramid stochastic 2D pooling layer

Returns
Structure that contains the result of the forward spatial pyramid stochastic 2D pooling layer
services::Status setResult ( const ResultPtr &  result)
inline

Registers user-allocated memory to store the result of the forward spatial pyramid stochastic 2D pooling layer

Parameters
[in]resultStructure to store the result of the forward spatial pyramid stochastic 2D pooling layer
Returns
Status of computations

Member Data Documentation

Input input

Forward spatial pyramid stochastic 2D pooling layer input

Parameter& parameter

Forward spatial pyramid stochastic 2D pooling layer parameters


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

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