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

batch_normalization_layer_types.h
1 /* file: batch_normalization_layer_types.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 the batch normalization layer.
21 //--
22 */
23 
24 #ifndef __BATCH_NORMALIZATION_LAYER_TYPES_H__
25 #define __BATCH_NORMALIZATION_LAYER_TYPES_H__
26 
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/tensor.h"
29 #include "data_management/data/homogen_tensor.h"
30 #include "services/daal_defines.h"
31 #include "algorithms/neural_networks/layers/layer_types.h"
32 
33 namespace daal
34 {
35 namespace algorithms
36 {
37 namespace neural_networks
38 {
39 namespace layers
40 {
47 namespace batch_normalization
48 {
53 enum Method
54 {
55  defaultDense = 0
56 };
57 
62 enum LayerDataId
63 {
64  auxData,
65  auxWeights,
66  auxMean,
67  auxStandardDeviation,
68  auxPopulationMean,
69  auxPopulationVariance,
70  lastLayerDataId = auxPopulationVariance
71 };
72 
76 namespace interface1
77 {
85 /* [Parameter source code] */
86 struct DAAL_EXPORT Parameter: public layers::Parameter
87 {
95  Parameter(double alpha = 0.01, double epsilon = 0.00001, size_t dimension = 1);
96 
97  double alpha;
98  double epsilon;
99  size_t dimension;
100 };
101 /* [Parameter source code] */
102 } // interface1
103 using interface1::Parameter;
104 
105 } // namespace batch_normalization
107 } // namespace layers
108 } // namespace neural_networks
109 } // namespace algorithm
110 } // namespace daal
111 
112 #endif
daal::algorithms::neural_networks::layers::batch_normalization::interface1::Parameter
Parameters for the forward and backward batch normalization layers.
Definition: batch_normalization_layer_types.h:86
daal::algorithms::neural_networks::layers::batch_normalization::auxPopulationMean
Definition: batch_normalization_layer_types.h:68
daal::algorithms::neural_networks::layers::batch_normalization::auxPopulationVariance
Definition: batch_normalization_layer_types.h:69
daal::algorithms::neural_networks::layers::batch_normalization::LayerDataId
LayerDataId
Identifiers of input objects for the backward batch normalization layer and results for the forward b...
Definition: batch_normalization_layer_types.h:62
daal::algorithms::neural_networks::layers::batch_normalization::auxMean
Definition: batch_normalization_layer_types.h:66
daal::algorithms::neural_networks::layers::batch_normalization::interface1::Parameter::alpha
double alpha
Definition: batch_normalization_layer_types.h:97
daal_defines.h
daal::algorithms::neural_networks::layers::batch_normalization::interface1::Parameter::dimension
size_t dimension
Definition: batch_normalization_layer_types.h:99
daal::algorithms::neural_networks::layers::batch_normalization::defaultDense
Definition: batch_normalization_layer_types.h:55
daal::algorithms::neural_networks::layers::batch_normalization::Method
Method
Computation methods for the batch normalization layer.
Definition: batch_normalization_layer_types.h:53
daal::algorithms::neural_networks::layers::batch_normalization::interface1::Parameter::epsilon
double epsilon
Definition: batch_normalization_layer_types.h:98
daal::algorithms::neural_networks::layers::batch_normalization::auxStandardDeviation
Definition: batch_normalization_layer_types.h:67
daal::algorithms::neural_networks::layers::batch_normalization::auxData
Definition: batch_normalization_layer_types.h:64
daal::algorithms::neural_networks::layers::batch_normalization::auxWeights
Definition: batch_normalization_layer_types.h:65

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