create_dl_layer_dropout🔗
Short description🔗
create_dl_layer_dropout — Create a DropOut layer.
Signature🔗
create_dl_layer_dropout( dl_layer DLLayerInput, string LayerName, number Probability, attribute.name GenParamName, attribute.value GenParamValue, out dl_layer DLLayerDropOut )
Description🔗
The operator create_dl_layer_dropout creates a DropOut layer with
probability Probability and returns the handle DLLayerDropOut.
The parameter DLLayerInput determines the feeding input layer and
expects the layer handle as value.
The parameter LayerName sets an individual layer name.
Note that if creating a model using create_dl_model each layer of
the created network must have a unique name.
During training, activations within DLLayerInput are set to zero
with probability Probability. All other activations are rescaled
with (1 - Probability).
The following generic parameters GenParamName and the corresponding
values GenParamValue are supported:
-
'is_inference_output': Determines whether
apply_dl_modelwill include the output of this layer in the dictionaryDLResultBatcheven without specifying this layer inOutputs('true') or not ('false').Default: 'false'
Certain parameters of layers created using this operator
create_dl_layer_dropout can be set and retrieved using
further operators.
The following tables give an overview, which parameters can be set
using set_dl_model_layer_param and which ones can be retrieved
using get_dl_model_layer_param or get_dl_layer_param. Note, the
operators set_dl_model_layer_param and get_dl_model_layer_param
require a model created by create_dl_model.
| Layer Parameters | set |
get |
|---|---|---|
'input_layer' (DLLayerInput) |
x |
|
'name' (LayerName) |
x |
x |
'output_layer' (DLLayerDropOut) |
x |
|
'probability' (Probability) |
x |
|
| 'shape' | x |
|
| 'type' | x |
| Generic Layer Parameters | set |
get |
|---|---|---|
| 'is_inference_output' | x |
x |
| 'num_trainable_params' | x |
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
DLLayerInput (input_control) dl_layer → (handle)
Feeding layer.
LayerName (input_control) string → (string)
Name of the output layer.
Probability (input_control) number → (real)
Probability.
Default: 0.5
GenParamName (input_control) attribute.name(-array) → (string)
Generic input parameter names.
Default: []
List of values: 'is_inference_output'
GenParamValue (input_control) attribute.value(-array) → (string / integer / real)
Generic input parameter values.
Default: []
Suggested values: 'true', 'false'
DLLayerDropOut (output_control) dl_layer → (handle)
DropOut layer.
Module🔗
Deep Learning Professional