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

reshape_layer_types.h
1 /* file: reshape_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 the absolute value (abs) layer interface
21 //--
22 */
23 
24 #ifndef __RESHAPE_LAYER_TYPES_H__
25 #define __RESHAPE_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/layer_types.h"
32 
33 namespace daal
34 {
35 namespace algorithms
36 {
37 namespace neural_networks
38 {
39 namespace layers
40 {
50 namespace reshape
51 {
56 const size_t undefinedDimensionSize = (size_t)(-1);
57 
62 enum Method
63 {
64  defaultDense = 0
65 };
66 
71 enum LayerDataId
72 {
73  auxInputDimensions = layers::lastLayerInputLayout + 1,
74  lastLayerDataId = auxInputDimensions
75 };
76 
80 namespace interface1
81 {
89 /* [Parameter source code] */
90 struct DAAL_EXPORT Parameter: public layers::Parameter
91 {
96  Parameter();
97 
98  services::Collection<size_t> reshapeDimensions;
99 };
100 /* [Parameter source code] */
101 } // namespace interface1
102 using interface1::Parameter;
103 
104 } // namespace reshape
106 } // namespace layers
107 } // namespace neural_networks
108 } // namespace algorithm
109 } // namespace daal
110 #endif
daal::algorithms::neural_networks::layers::reshape::interface1::Parameter
Parameters for the reshape layer.
Definition: reshape_layer_types.h:90
daal::algorithms::neural_networks::layers::reshape::LayerDataId
LayerDataId
Available identifiers of input objects for the reshape layer.
Definition: reshape_layer_types.h:71
daal_defines.h
daal::algorithms::neural_networks::layers::reshape::undefinedDimensionSize
const size_t undefinedDimensionSize
Constant value used to show that dimension size is calculated in a special way.
Definition: reshape_layer_types.h:56
daal::algorithms::neural_networks::layers::reshape::auxInputDimensions
Definition: reshape_layer_types.h:73
daal::algorithms::neural_networks::layers::reshape::Method
Method
Computation methods for the reshape layer.
Definition: reshape_layer_types.h:62
daal::algorithms::neural_networks::layers::reshape::defaultDense
Definition: reshape_layer_types.h:64

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