48 #ifndef __LOGISTIC_LAYER_H__
49 #define __LOGISTIC_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/logistic/logistic_layer_types.h"
56 #include "algorithms/neural_networks/layers/logistic/logistic_layer_forward.h"
57 #include "algorithms/neural_networks/layers/logistic/logistic_layer_backward.h"
63 namespace neural_networks
94 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
95 class Batch :
public LayerIface
102 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
103 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
105 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
106 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
111 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:95
daal
Definition: algorithm_base_common.h:57
daal::algorithms::neural_networks::layers::logistic::interface1::Parameter
Parameters for the logistic layer.
Definition: logistic_layer_types.h:108
daal::algorithms::neural_networks::layers::logistic::interface1::Batch::Batch
Batch()
Default constructor.
Definition: logistic_layer.h:100
daal::algorithms::neural_networks::layers::logistic::interface1::Batch::parameter
Parameter parameter
Definition: logistic_layer.h:98