Class defining a neural network topology - a set of layers and connection between them - on the prediction stage.
More...
- Deprecated:
- This item will be removed in a future release.
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] | t | Neural network topology to be used as the source to initialize layers |
- Deprecated:
- This item will be removed in a future release.
Constructs neural network topology by copying layers of another topology
- Parameters
-
[in] | t | Neural network topology to be used as the source to initialize layers |
- Deprecated:
- This item will be removed in a future release.
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
-
- 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] | topologyBlock | Block to add |
[in] | startIndex | Index 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] | index | Index of the layer to add next layer |
[in] | next | Index 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] | index | Index 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] | index | Index 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] | index | Index 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] | index | Index 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
-
- Returns
- Index of the element
- Deprecated:
- This item will be removed in a future release.
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: