24 #ifndef __FULLYCONNECTED_LAYER_H__
25 #define __FULLYCONNECTED_LAYER_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/tensor.h"
29 #include "services/daal_defines.h"
30 #include "algorithms/neural_networks/layers/layer.h"
31 #include "algorithms/neural_networks/layers/fullyconnected/fullyconnected_layer_types.h"
32 #include "algorithms/neural_networks/layers/fullyconnected/fullyconnected_layer_forward.h"
33 #include "algorithms/neural_networks/layers/fullyconnected/fullyconnected_layer_backward.h"
39 namespace neural_networks
46 namespace fullyconnected
72 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
73 class Batch :
public LayerIface
81 DAAL_DEPRECATED Batch(
size_t nOutputs): parameter(nOutputs)
83 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
84 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
86 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
87 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
92 using interface1::Batch;
daal::algorithms::neural_networks::layers::fullyconnected::interface1::Batch::Batch
DAAL_DEPRECATED Batch(size_t nOutputs)
Definition: fullyconnected_layer.h:81
daal::algorithms::neural_networks::layers::fullyconnected::interface1::Batch
Computes the result of the forward and backward fully-connected layer of neural network in the batch ...
Definition: fullyconnected_layer.h:73
daal::algorithms::neural_networks::layers::fullyconnected::interface1::Batch::parameter
Parameter parameter
Definition: fullyconnected_layer.h:76
daal::algorithms::neural_networks::layers::fullyconnected::interface1::Parameter
Fully-connected layer parameters.
Definition: fullyconnected_layer_types.h:76