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

spatial_average_pooling2d_layer_types.h
1 /* file: spatial_average_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 average 2D pooling layer.
21 //--
22 */
23 
24 #ifndef __SPATIAL_AVERAGE_POOLING2D_LAYER_TYPES_H__
25 #define __SPATIAL_AVERAGE_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_average_pooling2d
48 {
53 enum Method
54 {
55  defaultDense = 0
56 };
57 
62 enum LayerDataId
63 {
64  auxInputDimensions,
66  lastLayerDataId = auxInputDimensions
67 };
68 
72 namespace interface1
73 {
81 /* [Parameter source code] */
82 struct DAAL_EXPORT Parameter: public spatial_pooling2d::Parameter
83 {
84  /*
85  * \DAAL_DEPRECATED
86  */
87  Parameter(size_t pyramidHeight, size_t firstIndex, size_t secondIndex);
88 };
89 /* [Parameter source code] */
90 
91 } // interface1
92 using interface1::Parameter;
93 
94 } // namespace spatial_average_pooling2d
96 } // namespace layers
97 } // namespace neural_networks
98 } // namespace algorithm
99 } // namespace daal
100 
101 #endif
daal::algorithms::neural_networks::layers::spatial_average_pooling2d::LayerDataId
LayerDataId
Identifiers of input tensors for the backward spatial pyramid average 2D pooling layer and results fo...
Definition: spatial_average_pooling2d_layer_types.h:62
daal::algorithms::neural_networks::layers::spatial_average_pooling2d::auxInputDimensions
Definition: spatial_average_pooling2d_layer_types.h:64
daal::algorithms::neural_networks::layers::spatial_average_pooling2d::Method
Method
Computation methods for the spatial pyramid average 2D pooling layer.
Definition: spatial_average_pooling2d_layer_types.h:53
daal_defines.h
daal::algorithms::neural_networks::layers::spatial_average_pooling2d::interface1::Parameter
Parameters for the spatial pyramid average 2D pooling layer.
Definition: spatial_average_pooling2d_layer_types.h:82
daal::algorithms::neural_networks::layers::spatial_average_pooling2d::defaultDense
Definition: spatial_average_pooling2d_layer_types.h:55

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