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.

Constructor & Destructor Documentation

virtual ~LayerIface ( )
inlinevirtual
Deprecated:
This item will be removed in a future release.

Member Function Documentation

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

Connects two layers in neural network by getting tensor with gradient 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 gradient in the structure that contains results of the previous layer
[in]inputIndexIndex in the input object of this layer algorithm where the tensor with gradient should be placed
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.

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

Returns
Pointer to the newly allocated backward layer
Deprecated:
This item will be removed in a future release.
virtual LayerIface* cloneImpl ( ) const
protectedpure virtual
Deprecated:
This item will be removed in a future release.
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 backward::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.

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

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