C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

batch_normalization_layer_types.h
1 /* file: batch_normalization_layer_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2018 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 the batch normalization layer.
19 //--
20 */
21 
22 #ifndef __BATCH_NORMALIZATION_LAYER_TYPES_H__
23 #define __BATCH_NORMALIZATION_LAYER_TYPES_H__
24 
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/tensor.h"
27 #include "data_management/data/homogen_tensor.h"
28 #include "services/daal_defines.h"
29 #include "algorithms/neural_networks/layers/layer_types.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace neural_networks
36 {
37 namespace layers
38 {
45 namespace batch_normalization
46 {
51 enum Method
52 {
53  defaultDense = 0
54 };
55 
60 enum LayerDataId
61 {
62  auxData,
63  auxWeights,
64  auxMean,
65  auxStandardDeviation,
66  auxPopulationMean,
67  auxPopulationVariance,
68  lastLayerDataId = auxPopulationVariance
69 };
70 
74 namespace interface1
75 {
82 /* [Parameter source code] */
83 struct DAAL_EXPORT Parameter: public layers::Parameter
84 {
91  Parameter(double alpha = 0.01, double epsilon = 0.00001, size_t dimension = 1);
92 
93  double alpha;
94  double epsilon;
95  size_t dimension;
96 };
97 /* [Parameter source code] */
98 } // interface1
99 using interface1::Parameter;
100 
101 } // namespace batch_normalization
103 } // namespace layers
104 } // namespace neural_networks
105 } // namespace algorithm
106 } // namespace daal
107 
108 #endif
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:60
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::batch_normalization::interface1::Parameter
Parameters for the forward and backward batch normalization layers.
Definition: batch_normalization_layer_types.h:83
daal::algorithms::neural_networks::layers::batch_normalization::auxData
Definition: batch_normalization_layer_types.h:62
daal::algorithms::neural_networks::layers::batch_normalization::auxPopulationVariance
Definition: batch_normalization_layer_types.h:67
daal_defines.h
daal::algorithms::neural_networks::layers::batch_normalization::auxStandardDeviation
Definition: batch_normalization_layer_types.h:65
daal::algorithms::neural_networks::layers::batch_normalization::auxPopulationMean
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:93
daal::algorithms::neural_networks::layers::batch_normalization::interface1::Parameter::dimension
size_t dimension
Definition: batch_normalization_layer_types.h:95
daal::algorithms::neural_networks::layers::batch_normalization::Method
Method
Computation methods for the batch normalization layer.
Definition: batch_normalization_layer_types.h:51
daal::algorithms::neural_networks::layers::batch_normalization::auxWeights
Definition: batch_normalization_layer_types.h:63
daal::algorithms::neural_networks::layers::batch_normalization::auxMean
Definition: batch_normalization_layer_types.h:64
daal::algorithms::neural_networks::layers::batch_normalization::defaultDense
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:94

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