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

maximum_pooling2d_layer_types.h
1 /* file: maximum_pooling2d_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 maximum 2D pooling layer.
19 //--
20 */
21 
22 #ifndef __MAXIMUM_POOLING2D_LAYER_TYPES_H__
23 #define __MAXIMUM_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 maximum_pooling2d
46 {
51 enum Method
52 {
53  defaultDense = 0
54 };
55 
60 enum LayerDataId
61 {
62  auxSelectedIndices,
63  auxData,
64  lastLayerDataId = auxData
65 };
66 
71 enum LayerDataNumericTableId
72 {
73  auxInputDimensions = lastLayerDataId + 1,
75 };
76 
80 namespace interface1
81 {
88 /* [Parameter source code] */
89 struct DAAL_EXPORT Parameter: public pooling2d::Parameter
90 {
104  Parameter(size_t firstIndex, size_t secondIndex, size_t firstKernelSize = 2, size_t secondKernelSize = 2,
105  size_t firstStride = 2, size_t secondStride = 2, size_t firstPadding = 0, size_t secondPadding = 0);
106 };
107 /* [Parameter source code] */
108 
109 } // interface1
110 using interface1::Parameter;
111 
112 } // namespace maximum_pooling2d
114 } // namespace layers
115 } // namespace neural_networks
116 } // namespace algorithm
117 } // namespace daal
118 
119 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::maximum_pooling2d::LayerDataNumericTableId
LayerDataNumericTableId
Identifiers of input numeric tables for the backward maximum 2D pooling layer and results for the for...
Definition: maximum_pooling2d_layer_types.h:71
daal::algorithms::neural_networks::layers::maximum_pooling2d::auxInputDimensions
Definition: maximum_pooling2d_layer_types.h:73
daal_defines.h
daal::algorithms::neural_networks::layers::maximum_pooling2d::defaultDense
Definition: maximum_pooling2d_layer_types.h:53
daal::algorithms::neural_networks::layers::maximum_pooling2d::Method
Method
Computation methods for the maximum 2D pooling layer.
Definition: maximum_pooling2d_layer_types.h:51
daal::algorithms::neural_networks::layers::maximum_pooling2d::auxSelectedIndices
Definition: maximum_pooling2d_layer_types.h:62
daal::algorithms::neural_networks::layers::maximum_pooling2d::auxData
Definition: maximum_pooling2d_layer_types.h:63
daal::algorithms::neural_networks::layers::maximum_pooling2d::LayerDataId
LayerDataId
Identifiers of input tensors for the backward maximum 2D pooling layer and results for the forward ma...
Definition: maximum_pooling2d_layer_types.h:60
daal::algorithms::neural_networks::layers::maximum_pooling2d::interface1::Parameter
Parameters for the maximum 2D pooling layer.
Definition: maximum_pooling2d_layer_types.h:89

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