48 #ifndef __SPLIT_LAYER_H__
49 #define __SPLIT_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/split/split_layer_types.h"
56 #include "algorithms/neural_networks/layers/split/split_layer_forward.h"
57 #include "algorithms/neural_networks/layers/split/split_layer_backward.h"
63 namespace neural_networks
94 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
95 class Batch :
public LayerIface
103 Batch(
size_t nInputs = 1,
size_t nOutputs = 1): parameter(nInputs, nOutputs)
105 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
106 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
108 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
109 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
114 using interface1::Batch;
daal
Definition: algorithm_base_common.h:57
daal::algorithms::neural_networks::layers::split::interface1::Batch::Batch
Batch(size_t nInputs=1, size_t nOutputs=1)
Default constructor.
Definition: split_layer.h:103
daal::algorithms::neural_networks::layers::split::interface1::Batch::parameter
Parameter parameter
Definition: split_layer.h:99
daal::algorithms::neural_networks::layers::split::interface1::Parameter
split layer parameters
Definition: split_layer_types.h:94
daal::algorithms::neural_networks::layers::split::interface1::Batch
Provides methods for the split layer in the batch processing mode.
Definition: split_layer.h:95