C++ API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

layer.h
1 /* file: layer.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Implementation of neural network layer.
19 //--
20 */
21 
22 #ifndef __LAYER_H__
23 #define __LAYER_H__
24 
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_types.h"
29 #include "algorithms/neural_networks/layers/layer_forward.h"
30 #include "algorithms/neural_networks/layers/layer_backward.h"
31 #include "algorithms/neural_networks/layers/loss/loss_layer_forward.h"
32 
33 namespace daal
34 {
35 namespace algorithms
36 {
40 namespace neural_networks
41 {
45 namespace layers
46 {
47 namespace interface1
48 {
57 class LayerIface: public Base
58 {
59 public:
60  forward::LayerIfacePtr forwardLayer;
61  backward::LayerIfacePtr backwardLayer;
62 };
64 typedef services::SharedPtr<LayerIface> LayerIfacePtr;
65 } // interface1
66 using interface1::LayerIface;
67 using interface1::LayerIfacePtr;
68 
69 } // namespace layers
70 } // namespace neural_networks
71 } // namespace algorithms
72 } // namespace daal
73 #endif
daal
Definition: algorithm_base_common.h:31
daal_defines.h
daal::algorithms::neural_networks::layers::interface1::LayerIface
Abstract class that specifies the interface of layer.
Definition: layer.h:57
daal::algorithms::neural_networks::layers::interface1::LayerIfacePtr
services::SharedPtr< LayerIface > LayerIfacePtr
Definition: layer.h:64
daal::algorithms::neural_networks::layers::interface1::LayerIface::backwardLayer
backward::LayerIfacePtr backwardLayer
Definition: layer.h:61
daal::algorithms::neural_networks::layers::interface1::LayerIface::forwardLayer
forward::LayerIfacePtr forwardLayer
Definition: layer.h:60
daal::Base
Base class for Intel(R) Data Analytics Acceleration Library objects
Definition: base.h:39

For more complete information about compiler optimizations, see our Optimization Notice.