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

List of all members
Topology Class Reference

Class defining a neural network topology - a set of layers and connection between them - on the prediction stage. More...

Class Declaration

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

Constructor & Destructor Documentation

DAAL_DEPRECATED Topology ( const training::Topology &  t)
inline

Constructs neural network topology for prediction algorithm by copying layers of topology used for training algoritnm

Parameters
[in]tNeural network topology to be used as the source to initialize layers
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED Topology ( const Topology t)
inline

Constructs neural network topology by copying layers of another topology

Parameters
[in]tNeural network topology to be used as the source to initialize layers
Deprecated:
This item will be removed in a future release.

Member Function Documentation

DAAL_DEPRECATED size_t add ( const layers::forward::LayerIfacePtr &  layer)
inline

Adds an element to the collection of layers and assigns the next available id to it

Parameters
[in]layerElement to add
Returns
Index of the element
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED size_t add ( const Topology topologyBlock,
size_t &  startIndex 
)
inline

Adds a block of elements to the collection of layers

Parameters
[in]topologyBlockBlock to add
[in]startIndexIndex of the first element of the block in topology
Returns
Index of the last element of the block in topology
Deprecated:
This item will be removed in a future release.
services::Status addNext ( size_t  index,
size_t  next 
)
inline

Adds next layer to the given layer

Parameters
[in]indexIndex of the layer to add next layer
[in]nextIndex of the next layer
Deprecated:
This item will be removed in a future release. Following with LayerDescriptor::addNext method.
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED services::Status clear ( )
inline

Clears a topology: removes all layer descriptors and sets size to 0

Returns
Status of computations
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED layers::forward::LayerDescriptor& get ( size_t  index)
inline

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Reference to the element
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED const layers::forward::LayerDescriptor& get ( size_t  index) const
inline

Const element access

Parameters
[in]indexIndex of an accessed element
Returns
Reference to the element
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED layers::forward::LayerDescriptor& operator[] ( size_t  index)
inline

Element access

Parameters
[in]indexIndex of an accessed element
Returns
Reference to the element
Deprecated:
This item will be removed in a future release.
const layers::forward::LayerDescriptor& operator[] ( size_t  index) const
inline

Const element access

Parameters
[in]indexIndex of an accessed element
Returns
Reference to the element
Deprecated:
This item will be removed in a future release.
size_t push_back ( const layers::forward::LayerIfacePtr &  layer)
inline

Adds an element to the collection of layers and assigns the next available id to it

Parameters
[in]layerElement to add
Returns
Index of the element
Deprecated:
This item will be removed in a future release.
size_t size ( ) const
inline

Number of layers in the topology

Returns
Size of the collection
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.