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

smoothrelu_layer_types.h
1 /* file: smoothrelu_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 smooth relu layer types.
21 //--
22 */
23 
24 #ifndef __SMOOTHRELU_LAYER_TYPES_H__
25 #define __SMOOTHRELU_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 smoothrelu
48 {
53 enum Method
54 {
55  defaultDense = 0,
56 };
57 
62 enum LayerDataId
63 {
64  auxData = layers::lastLayerInputLayout + 1,
65  lastLayerDataId = auxData
66 };
67 
71 namespace interface1
72 {
79 /* [Parameter source code] */
80 struct DAAL_EXPORT Parameter: public layers::Parameter
81 {
86  Parameter();
87 };
88 /* [Parameter source code] */
89 
90 } // namespace interface1
91 using interface1::Parameter;
92 
93 } // namespace smoothrelu
95 } // namespace layers
96 } // namespace neural_networks
97 } // namespace algorithm
98 } // namespace daal
99 #endif
daal::algorithms::neural_networks::layers::smoothrelu::auxData
Definition: smoothrelu_layer_types.h:64
daal::algorithms::neural_networks::layers::smoothrelu::LayerDataId
LayerDataId
Identifiers of input objects for the backward smooth relu layer and results for the forward smooth re...
Definition: smoothrelu_layer_types.h:62
daal_defines.h
daal::algorithms::neural_networks::layers::smoothrelu::defaultDense
Definition: smoothrelu_layer_types.h:55
daal::algorithms::neural_networks::layers::smoothrelu::interface1::Parameter
Parameters for the smoothrelu layer.
Definition: smoothrelu_layer_types.h:80
daal::algorithms::neural_networks::layers::smoothrelu::Method
Method
Computation methods for the smooth relu layer.
Definition: smoothrelu_layer_types.h:53

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