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

pooling3d_layer_backward_types.h
1 /* file: pooling3d_layer_backward_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 backward 3D pooling layer.
21 //--
22 */
23 
24 #ifndef __POOLING3D_LAYER_BACKWARD_TYPES_H__
25 #define __POOLING3D_LAYER_BACKWARD_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/layer_backward_types.h"
32 #include "algorithms/neural_networks/layers/pooling3d/pooling3d_layer_types.h"
33 
34 namespace daal
35 {
36 namespace algorithms
37 {
38 namespace neural_networks
39 {
40 namespace layers
41 {
42 namespace pooling3d
43 {
53 namespace backward
54 {
55 
59 namespace interface1
60 {
66 class DAAL_EXPORT Input : public layers::backward::Input
67 {
68 public:
69  typedef layers::backward::Input super;
74  DAAL_DEPRECATED Input();
75 
80  DAAL_DEPRECATED Input(const Input& other);
81 
82  /*
83  * \DAAL_DEPRECATED
84  */
85  virtual ~Input() {}
86 
92  DAAL_DEPRECATED_VIRTUAL virtual services::Collection<size_t> getGradientSize() const;
93 
94 protected:
95  /*
96  * \DAAL_DEPRECATED
97  */
98  DAAL_DEPRECATED_VIRTUAL virtual data_management::NumericTablePtr getAuxInputDimensions() const = 0;
99 
100  /*
101  * \DAAL_DEPRECATED
102  */
103  DAAL_DEPRECATED_VIRTUAL virtual services::Collection<size_t> getInputGradientSize(const pooling3d::Parameter *parameter) const;
104 
105  /*
106  * \DAAL_DEPRECATED
107  */
108  DAAL_DEPRECATED size_t computeInputDimension(size_t maskDim, size_t kernelSize, size_t padding, size_t stride) const;
109 };
110 
117 class DAAL_EXPORT Result : public layers::backward::Result
118 {
119 public:
124  DAAL_DEPRECATED Result();
125  /*
126  * \DAAL_DEPRECATED
127  */
128  virtual ~Result() {}
129 
139  template <typename algorithmFPType>
140  DAAL_EXPORT services::Status allocate(const daal::algorithms::Input *input, const daal::algorithms::Parameter *parameter, const int method);
141 
151  services::Status check(const daal::algorithms::Input *input, const daal::algorithms::Parameter *parameter, int method) const DAAL_C11_OVERRIDE;
152 };
153 
154 } // namespace interface1
155 using interface1::Input;
156 using interface1::Result;
157 } // namespace backward
159 } // namespace pooling3d
160 } // namespace layers
161 } // namespace neural_networks
162 } // namespace algorithm
163 } // namespace daal
164 
165 #endif
daal::algorithms::neural_networks::layers::pooling3d::backward::interface1::Result
Provides methods to access the result obtained with the compute() method of the backward 3D pooling l...
Definition: pooling3d_layer_backward_types.h:117
daal_defines.h
daal::algorithms::neural_networks::layers::pooling3d::backward::interface1::Input
Input objects for the backward 3D pooling layer
Definition: pooling3d_layer_backward_types.h:66

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