C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

layer.h
1 /* file: layer.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 /*
19 //++
20 // Implementation of neural network layer.
21 //--
22 */
23 
24 #ifndef __LAYER_H__
25 #define __LAYER_H__
26 
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_types.h"
31 #include "algorithms/neural_networks/layers/layer_forward.h"
32 #include "algorithms/neural_networks/layers/layer_backward.h"
33 #include "algorithms/neural_networks/layers/loss/loss_layer_forward.h"
34 
35 namespace daal
36 {
37 namespace algorithms
38 {
42 namespace neural_networks
43 {
47 namespace layers
48 {
49 namespace interface1
50 {
60 class LayerIface: public Base
61 {
62 public:
63  forward::LayerIfacePtr forwardLayer;
64  backward::LayerIfacePtr backwardLayer;
65 };
67 typedef services::SharedPtr<LayerIface> LayerIfacePtr;
68 } // interface1
69 using interface1::LayerIface;
70 using interface1::LayerIfacePtr;
71 
72 } // namespace layers
73 } // namespace neural_networks
74 } // namespace algorithms
75 } // namespace daal
76 #endif
daal::algorithms::neural_networks::layers::interface1::LayerIface::backwardLayer
backward::LayerIfacePtr backwardLayer
Definition: layer.h:64
daal::Base
Base class for Intel(R) Data Analytics Acceleration Library objects
Definition: base.h:41
daal::algorithms::neural_networks::layers::interface1::LayerIfacePtr
services::SharedPtr< LayerIface > LayerIfacePtr
Definition: layer.h:67
daal_defines.h
daal::algorithms::neural_networks::layers::interface1::LayerIface
Abstract class that specifies the interface of layer.
Definition: layer.h:60
daal::algorithms::neural_networks::layers::interface1::LayerIface::forwardLayer
forward::LayerIfacePtr forwardLayer
Definition: layer.h:63

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