48 #ifndef __DROPOUT_LAYER_H__
49 #define __DROPOUT_LAYER_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/tensor.h"
53 #include "services/daal_defines.h"
54 #include "algorithms/neural_networks/layers/layer.h"
55 #include "algorithms/neural_networks/layers/dropout/dropout_layer_types.h"
56 #include "algorithms/neural_networks/layers/dropout/dropout_layer_forward.h"
57 #include "algorithms/neural_networks/layers/dropout/dropout_layer_backward.h"
63 namespace neural_networks
94 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
95 class Batch :
public LayerIface
103 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
104 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
106 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
107 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
112 using interface1::Batch;
daal::algorithms::neural_networks::layers::dropout::interface1::Batch::Batch
Batch()
Definition: dropout_layer.h:101
daal
Definition: algorithm_base_common.h:57
daal::algorithms::neural_networks::layers::dropout::interface1::Batch::parameter
Parameter parameter
Definition: dropout_layer.h:98
daal::algorithms::neural_networks::layers::dropout::interface1::Batch
Provides methods for the dropout layer in the batch processing mode.
Definition: dropout_layer.h:95
daal::algorithms::neural_networks::layers::dropout::interface1::Parameter
Parameters for the dropout layer.
Definition: dropout_layer_types.h:107