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

List of all members
LayerIface Class Referenceabstract

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

Class Declaration

Deprecated:
This item will be removed in a future release.

Member Function Documentation

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
Deprecated:
This item will be removed in a future release.

Implemented in LayerIfaceImpl.

virtual DAAL_DEPRECATED_VIRTUAL services::Status allocateInput ( )
pure virtual

Allocates memory buffers needed for the computations

Deprecated:
This item will be removed in a future release.

Implemented in LayerIfaceImpl.

virtual services::Status allocateResult ( )
pure virtual

Allocates memory buffers needed for the computations

Deprecated:
This item will be removed in a future release.
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
Deprecated:
This item will be removed in a future release.
virtual DAAL_DEPRECATED_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
Deprecated:
This item will be removed in a future release.

Implemented in LayerIfaceImpl.

virtual InputType* getLayerInput ( )
pure virtual

Returns the structure that contains input objects of the layer

Returns
Structure that contains input objects of the layer
Deprecated:
This item will be removed in a future release.
virtual ParameterType* getLayerParameter ( )
pure virtual

Returns the structure that contains parameters of the layer

Returns
Structure that contains parameters of the layer
Deprecated:
This item will be removed in a future release.
virtual forward::ResultPtr getLayerResult ( )
pure virtual

Returns the structure that contains results of the layer

Returns
Structure that contains results of the layer
Deprecated:
This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL services::Status initializeInput ( )
pure virtual

Initializes values of weights and biases if needed

Deprecated:
This item will be removed in a future release.

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.