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

fullyconnected_layer_types.h
1 /* file: fullyconnected_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 // Fully-connected layer parameter structure.
21 //--
22 */
23 
24 #ifndef __FULLYCONNECTED_LAYER_TYPES_H__
25 #define __FULLYCONNECTED_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 {
47 namespace fullyconnected
48 {
53 enum Method
54 {
55  defaultDense = 0,
56 };
57 
62 enum LayerDataId
63 {
64  auxData = 0,
65  auxWeights = 1,
66  lastLayerDataId = auxWeights
67 };
68 
69 namespace interface1
70 {
76 class DAAL_EXPORT Parameter: public layers::Parameter
77 {
78 public:
84  Parameter(size_t _nOutputs);
85 
86  size_t nOutputs;
87 };
88 
89 } // namespace interface1
90 using interface1::Parameter;
91 
92 } // namespace fullyconnected
94 } // namespace layers
95 } // namespace neural_networks
96 } // namespace algorithms
97 } // namespace daal
98 #endif
daal::algorithms::neural_networks::layers::fullyconnected::interface1::Parameter::nOutputs
size_t nOutputs
Definition: fullyconnected_layer_types.h:86
daal::algorithms::neural_networks::layers::fullyconnected::auxData
Definition: fullyconnected_layer_types.h:64
daal::algorithms::neural_networks::layers::fullyconnected::Method
Method
Definition: fullyconnected_layer_types.h:53
daal_defines.h
daal::algorithms::neural_networks::layers::fullyconnected::defaultDense
Definition: fullyconnected_layer_types.h:55
daal::algorithms::neural_networks::layers::fullyconnected::LayerDataId
LayerDataId
Definition: fullyconnected_layer_types.h:62
daal::algorithms::neural_networks::layers::fullyconnected::auxWeights
Definition: fullyconnected_layer_types.h:65
daal::algorithms::neural_networks::layers::fullyconnected::interface1::Parameter
Fully-connected layer parameters.
Definition: fullyconnected_layer_types.h:76

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