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

spatial_maximum_pooling2d_layer_types.h
1 /* file: spatial_maximum_pooling2d_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 spatial pyramid maximum 2D pooling layer.
21 //--
22 */
23 
24 #ifndef __SPATIAL_MAXIMUM_POOLING2D_LAYER_TYPES_H__
25 #define __SPATIAL_MAXIMUM_POOLING2D_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/spatial_pooling2d/spatial_pooling2d_layer_types.h"
32 
33 namespace daal
34 {
35 namespace algorithms
36 {
37 namespace neural_networks
38 {
39 namespace layers
40 {
47 namespace spatial_maximum_pooling2d
48 {
53 enum Method
54 {
55  defaultDense = 0
56 };
57 
62 enum LayerDataId
63 {
64  auxSelectedIndices,
65  lastLayerDataId = auxSelectedIndices
66 };
67 
72 enum LayerDataNumericTableId
73 {
74  auxInputDimensions = lastLayerDataId + 1,
76  lastLayerDataNumericTableId = auxInputDimensions
77 };
78 
82 namespace interface1
83 {
91 /* [Parameter source code] */
92 struct DAAL_EXPORT Parameter: public spatial_pooling2d::Parameter
93 {
94  /*
95  * \DAAL_DEPRECATED
96  */
97  Parameter(size_t pyramidHeight, size_t firstIndex, size_t secondIndex);
98 };
99 /* [Parameter source code] */
100 
101 } // interface1
102 using interface1::Parameter;
103 
104 } // namespace spatial_maximum_pooling2d
106 } // namespace layers
107 } // namespace neural_networks
108 } // namespace algorithm
109 } // namespace daal
110 
111 #endif
daal::algorithms::neural_networks::layers::spatial_maximum_pooling2d::auxSelectedIndices
Definition: spatial_maximum_pooling2d_layer_types.h:64
daal::algorithms::neural_networks::layers::spatial_maximum_pooling2d::auxInputDimensions
Definition: spatial_maximum_pooling2d_layer_types.h:74
daal::algorithms::neural_networks::layers::spatial_maximum_pooling2d::LayerDataNumericTableId
LayerDataNumericTableId
Identifiers of input numeric tables for the backward spatial pyramid maximum 2D pooling layer and res...
Definition: spatial_maximum_pooling2d_layer_types.h:72
daal::algorithms::neural_networks::layers::spatial_maximum_pooling2d::LayerDataId
LayerDataId
Identifiers of input tensors for the backward spatial pyramid maximum 2D pooling layer and results fo...
Definition: spatial_maximum_pooling2d_layer_types.h:62
daal::algorithms::neural_networks::layers::spatial_maximum_pooling2d::interface1::Parameter
Parameters for the spatial pyramid maximum 2D pooling layer.
Definition: spatial_maximum_pooling2d_layer_types.h:92
daal_defines.h
daal::algorithms::neural_networks::layers::spatial_maximum_pooling2d::Method
Method
Computation methods for the spatial pyramid maximum 2D pooling layer.
Definition: spatial_maximum_pooling2d_layer_types.h:53
daal::algorithms::neural_networks::layers::spatial_maximum_pooling2d::defaultDense
Definition: spatial_maximum_pooling2d_layer_types.h:55

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