Class Model object for the prediction stage of neural network algorithm.
More...
- Deprecated:
- This item will be removed in a future release.
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Constructs model object for the prediction stage of neural network from the list of forward stages of the layers and the list of connections between the layers
- Parameters
-
forwardLayersForModel | List of forward stages of the layers |
nextLayersForModel | List of next layers for each layer with corresponding index |
- Deprecated:
- This item will be removed in a future release.
- Variant 2
Constructs model object for the prediction stage of neural network from a collection of layer descriptors
- Parameters
-
topology | Collection of layer descriptors of every inserted layer |
- Deprecated:
- This item will be removed in a future release.
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
sampleSize, |
|
|
|
parameter = None |
|
) |
| |
- Variant 1
Allocates the buffers needed for the prediction using neural network
- Parameters
-
sampleSize | Dimensionality of the batch for the input to the first layer |
parameter | Prediction model parameter |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
- Variant 2
Allocates the buffers needed for the prediction using neural network
- Parameters
-
sampleSize | Dimensionality of the batch for the input to the first layer |
parameter | Prediction model parameter |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
- Full Names
allocate_Float64
is for float64
allocate_Float32
is for float32
- Variant 1
Constructs empty model for the prediction stage of neural network
- Parameters
-
stat | Status of the model construction |
- Returns
- Empty model for the prediction stage of neural network
- Deprecated:
- This item will be removed in a future release.
- Variant 2
Constructs model object for the prediction stage of neural network from the list of forward stages of the layers and the list of connections between the layers
- Parameters
-
forwardLayersForModel | List of forward stages of the layers |
nextLayersForModel | List of next layers for each layer with corresponding index |
stat | Status of the model construction |
- Returns
- Model object for the prediction stage of neural network
- Deprecated:
- This item will be removed in a future release.
- Variant 3
Constructs model object for the prediction stage of neural network from the list of forward stages of the layers and the list of connections between the layers
- Parameters
-
forwardLayersForModel | List of forward stages of the layers |
nextLayersForModel | List of next layers for each layer with corresponding index |
stat | Status of the model construction |
- Returns
- Model object for the prediction stage of neural network
- Deprecated:
- This item will be removed in a future release.
- Variant 4
Constructs model object for the prediction stage of neural network from a collection of layer descriptors
- Parameters
-
topology | Collection of layer descriptors of every inserted layer |
stat | Status of the model construction |
- Returns
- Model object for the prediction stage of neural network
- Deprecated:
- This item will be removed in a future release.
- Variant 5
Constructs model object for the prediction stage of neural network from a collection of layer descriptors
- Parameters
-
topology | Collection of layer descriptors of every inserted layer |
stat | Status of the model construction |
- Returns
- Model object for the prediction stage of neural network
- Deprecated:
- This item will be removed in a future release.
def getLayer |
( |
|
self, |
|
|
|
index |
|
) |
| |
Returns the forward stage of a layer with certain index in the network
- Parameters
-
index | Index of the layer in the network |
- Returns
- Forward stage of a layer with certain index in the network
- Deprecated:
- This item will be removed in a future release.
Returns the list of forward stages of the layers
- Returns
- List of forward stages of the layers
- Deprecated:
- This item will be removed in a future release.
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Model self) -> int
def setLayers |
( |
|
self, |
|
|
|
forwardLayers, |
|
|
|
nextLayers |
|
) |
| |
Sets list of forward stages of the layers and the list of connections between the layers
- Parameters
-
forwardLayers | List of forward stages of the layers |
nextLayers | List of next layers for each layer with corresponding index |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
The documentation for this class was generated from the following file:
- neural_networks/prediction.py