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

average_pooling1d_layer_types.h
1 /* file: average_pooling1d_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 pooling layer.
21 //--
22 */
23 
24 #ifndef __AVERAGE_POOLING1D_LAYER_TYPES_H__
25 #define __AVERAGE_POOLING1D_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/pooling1d/pooling1d_layer_types.h"
32 
33 namespace daal
34 {
35 namespace algorithms
36 {
37 namespace neural_networks
38 {
39 namespace layers
40 {
47 namespace average_pooling1d
48 {
53 enum Method
54 {
55  defaultDense = 0
56 };
57 
62 enum LayerDataId
63 {
64  auxInputDimensions,
65  lastLayerDataId = auxInputDimensions
66 };
67 
71 namespace interface1
72 {
80 /* [Parameter source code] */
81 struct DAAL_EXPORT Parameter: public pooling1d::Parameter
82 {
92  Parameter(size_t index, size_t kernelSize = 2, size_t stride = 2, size_t padding = 0);
93 };
94 /* [Parameter source code] */
95 
96 } // interface1
97 using interface1::Parameter;
98 
99 } // namespace average_pooling1d
101 } // namespace layers
102 } // namespace neural_networks
103 } // namespace algorithm
104 } // namespace daal
105 
106 #endif
daal::algorithms::neural_networks::layers::average_pooling1d::interface1::Parameter
Parameters for the average 1D pooling layer.
Definition: average_pooling1d_layer_types.h:81
daal::algorithms::neural_networks::layers::average_pooling1d::auxInputDimensions
Definition: average_pooling1d_layer_types.h:64
daal::algorithms::neural_networks::layers::average_pooling1d::LayerDataId
LayerDataId
Identifiers of input objects for the backward average 1D pooling layer and results for the forward av...
Definition: average_pooling1d_layer_types.h:62
daal_defines.h
daal::algorithms::neural_networks::layers::average_pooling1d::defaultDense
Definition: average_pooling1d_layer_types.h:55
daal::algorithms::neural_networks::layers::average_pooling1d::Method
Method
Computation methods for the average 1D pooling layer.
Definition: average_pooling1d_layer_types.h:53

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