22 #ifndef __LOGISTIC_LAYER_H__
23 #define __LOGISTIC_LAYER_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/tensor.h"
27 #include "services/daal_defines.h"
28 #include "algorithms/neural_networks/layers/layer.h"
29 #include "algorithms/neural_networks/layers/logistic/logistic_layer_types.h"
30 #include "algorithms/neural_networks/layers/logistic/logistic_layer_forward.h"
31 #include "algorithms/neural_networks/layers/logistic/logistic_layer_backward.h"
37 namespace neural_networks
68 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
69 class Batch :
public LayerIface
76 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
77 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
79 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
80 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
85 using interface1::Batch;
daal::algorithms::neural_networks::layers::logistic::interface1::Batch
Provides methods for the logistic layer in the batch processing mode.
Definition: logistic_layer.h:69
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::logistic::interface1::Parameter
Parameters for the logistic layer.
Definition: logistic_layer_types.h:82
daal::algorithms::neural_networks::layers::logistic::interface1::Batch::Batch
Batch()
Default constructor.
Definition: logistic_layer.h:74
daal::algorithms::neural_networks::layers::logistic::interface1::Batch::parameter
Parameter parameter
Definition: logistic_layer.h:72