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

List of all members
LayerIface Class Referenceabstract

Abstract class which defines interface for the layer. More...

Class Declaration

Member Function Documentation

◆ addInput()

virtual services::Status addInput ( forward::ResultPtr  result,
size_t  resultIndex,
size_t  inputIndex 
)
pure virtual

Connects two layers in neural network by getting tensor with value from the result of the previous layer and adding it to the input object of this layer algorithm

Parameters
[in]resultStructure that contains results of the previous layer
[in]resultIndexIndex of the tensor with value in the structure that contains results of the previous layer
[in]inputIndexIndex in the input object of this layer algorithm where the tensor with value should be placed

Implemented in LayerIfaceImpl.

◆ allocateInput()

virtual services::Status allocateInput ( )
pure virtual

Allocates memory buffers needed for the computations

Implemented in LayerIfaceImpl.

◆ allocateResult()

virtual services::Status allocateResult ( )
pure virtual

◆ clone()

daal::algorithms::neural_networks::layers::forward::LayerIfacePtr clone ( ) const
inline

Returns a pointer to the newly allocated forward neural network layer with a copy of input objects and parameters of this layer

Returns
Pointer to the newly allocated forward layer

◆ getLayerForPrediction()

virtual layers::forward::LayerIfacePtr getLayerForPrediction ( ) const
pure virtual

Returns the layer that corresponds to this layer on the prediction stage

Returns
The layer that corresponds to this layer on the prediction stage

Implemented in Batch< algorithmFPType, method >, Batch< algorithmFPType, method >, Batch< algorithmFPType, method >, and LayerIfaceImpl.

◆ getLayerInput()

virtual InputType* getLayerInput ( )
pure virtual

◆ getLayerParameter()

virtual ParameterType* getLayerParameter ( )
pure virtual

◆ getLayerResult()

virtual forward::ResultPtr getLayerResult ( )
pure virtual

◆ initializeInput()

virtual services::Status initializeInput ( )
pure virtual

Initializes values of weights and biases if needed

Implemented in LayerIfaceImpl.


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

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