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

average_pooling2d_layer_types.h
1 /* file: average_pooling2d_layer_types.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 two-dimensional average pooling layer.
19 //--
20 */
21 
22 #ifndef __AVERAGE_POOLING2D_LAYER_TYPES_H__
23 #define __AVERAGE_POOLING2D_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/pooling2d/pooling2d_layer_types.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace neural_networks
36 {
37 namespace layers
38 {
45 namespace average_pooling2d
46 {
51 enum Method
52 {
53  defaultDense = 0
54 };
55 
60 enum LayerDataId
61 {
62  auxInputDimensions = 0,
63  lastLayerDataId = auxInputDimensions
64 };
65 
70 enum LayerDataTensorId
71 {
72  auxData = lastLayerDataId + 1,
73  lastLayerDataTensorId = auxData
74 };
75 
79 namespace interface1
80 {
87 /* [Parameter source code] */
88 struct DAAL_EXPORT Parameter: public pooling2d::Parameter
89 {
103  Parameter(size_t firstIndex, size_t secondIndex, size_t firstKernelSize = 2, size_t secondKernelSize = 2,
104  size_t firstStride = 2, size_t secondStride = 2, size_t firstPadding = 0, size_t secondPadding = 0);
105 };
106 /* [Parameter source code] */
107 
108 } // interface1
109 using interface1::Parameter;
110 
111 } // namespace average_pooling2d
113 } // namespace layers
114 } // namespace neural_networks
115 } // namespace algorithm
116 } // namespace daal
117 
118 #endif
daal::algorithms::neural_networks::layers::average_pooling2d::auxInputDimensions
Definition: average_pooling2d_layer_types.h:62
daal::algorithms::neural_networks::layers::average_pooling2d::interface1::Parameter
Parameters for the average 2D pooling layer.
Definition: average_pooling2d_layer_types.h:88
daal::algorithms::neural_networks::layers::average_pooling2d::LayerDataId
LayerDataId
Identifiers of input objects for the backward average 2D pooling layer and results for the forward av...
Definition: average_pooling2d_layer_types.h:60
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::average_pooling2d::defaultDense
Definition: average_pooling2d_layer_types.h:53
daal_defines.h
daal::algorithms::neural_networks::layers::average_pooling2d::Method
Method
Computation methods for the average 2D pooling layer.
Definition: average_pooling2d_layer_types.h:51
daal::algorithms::neural_networks::layers::average_pooling2d::auxData
Definition: average_pooling2d_layer_types.h:72
daal::algorithms::neural_networks::layers::average_pooling2d::LayerDataTensorId
LayerDataTensorId
Identifiers of input tensors for the backward average 2D pooling layer and results for the forward av...
Definition: average_pooling2d_layer_types.h:70

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