C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

reshape_layer_types.h
1 /* file: reshape_layer_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2018 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Implementation of the absolute value (abs) layer interface
19 //--
20 */
21 
22 #ifndef __RESHAPE_LAYER_TYPES_H__
23 #define __RESHAPE_LAYER_TYPES_H__
24 
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/tensor.h"
27 #include "data_management/data/homogen_tensor.h"
28 #include "services/daal_defines.h"
29 #include "algorithms/neural_networks/layers/layer_types.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace neural_networks
36 {
37 namespace layers
38 {
48 namespace reshape
49 {
54 const size_t undefinedDimensionSize = (size_t)(-1);
55 
60 enum Method
61 {
62  defaultDense = 0
63 };
64 
69 enum LayerDataId
70 {
71  auxInputDimensions = layers::lastLayerInputLayout + 1,
72  lastLayerDataId = auxInputDimensions
73 };
74 
78 namespace interface1
79 {
86 /* [Parameter source code] */
87 struct DAAL_EXPORT Parameter: public layers::Parameter
88 {
92  Parameter();
93 
94  services::Collection<size_t> reshapeDimensions;
95 };
96 /* [Parameter source code] */
97 } // namespace interface1
98 using interface1::Parameter;
99 
100 } // namespace reshape
102 } // namespace layers
103 } // namespace neural_networks
104 } // namespace algorithm
105 } // namespace daal
106 #endif
daal
Definition: algorithm_base_common.h:31
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:54
daal::algorithms::neural_networks::layers::reshape::LayerDataId
LayerDataId
Available identifiers of input objects for the reshape layer.
Definition: reshape_layer_types.h:69
daal::algorithms::neural_networks::layers::reshape::defaultDense
Definition: reshape_layer_types.h:62
daal_defines.h
daal::algorithms::neural_networks::layers::reshape::interface1::Parameter
Parameters for the reshape layer.
Definition: reshape_layer_types.h:87
daal::algorithms::neural_networks::layers::reshape::Method
Method
Computation methods for the reshape layer.
Definition: reshape_layer_types.h:60
daal::algorithms::neural_networks::layers::reshape::auxInputDimensions
Definition: reshape_layer_types.h:71

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