24 #ifndef __NEURAL_NENTWORK_LOSS_LOGISTIC_CROSS_LAYER_H__
25 #define __NEURAL_NENTWORK_LOSS_LOGISTIC_CROSS_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/loss/loss_layer.h"
32 #include "algorithms/neural_networks/layers/loss/logistic_cross_layer_types.h"
33 #include "algorithms/neural_networks/layers/loss/logistic_cross_layer_forward.h"
34 #include "algorithms/neural_networks/layers/loss/logistic_cross_layer_backward.h"
40 namespace neural_networks
49 namespace logistic_cross
75 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
76 class Batch :
public loss::Batch
83 DAAL_DEPRECATED Batch()
85 forward::Batch<algorithmFPType, method> *forwardLayerObject =
new forward::Batch<algorithmFPType, method>(parameter);
86 backward::Batch<algorithmFPType, method> *backwardLayerObject =
new backward::Batch<algorithmFPType, method>(parameter);
88 LayerIface::forwardLayer = services::SharedPtr<forward::Batch<algorithmFPType, method> >(forwardLayerObject);
89 LayerIface::backwardLayer = services::SharedPtr<backward::Batch<algorithmFPType, method> >(backwardLayerObject);
96 using interface1::Batch;
daal::algorithms::neural_networks::layers::loss::logistic_cross::interface1::Batch::Batch
DAAL_DEPRECATED Batch()
Definition: logistic_cross_layer.h:83
daal::algorithms::neural_networks::layers::loss::interface1::Batch
Provides methods for the loss layer in the batch processing mode.
Definition: loss_layer.h:70
daal::algorithms::neural_networks::layers::loss::logistic_cross::interface1::Batch
Provides methods for the logistic cross-entropy layer in the batch processing mode.
Definition: logistic_cross_layer.h:76
daal::algorithms::neural_networks::layers::loss::logistic_cross::interface1::Parameter
Parameters for the logistic cross-entropy layer.
Definition: logistic_cross_layer_types.h:85
daal::algorithms::neural_networks::layers::loss::logistic_cross::interface1::Batch::parameter
Parameter parameter
Definition: logistic_cross_layer.h:90