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

tanh_layer_types.h
1 /* file: tanh_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 hyperbolic tangent layer.
21 //--
22 */
23 
24 #ifndef __TANH_LAYER_TYPES_H__
25 #define __TANH_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 tanh
51 {
52 
57 enum Method
58 {
59  defaultDense = 0,
60 };
61 
66 enum LayerDataId
67 {
68  auxValue = layers::lastLayerInputLayout + 1,
69  lastLayerDataId = auxValue
70 };
71 
75 namespace interface1
76 {
84 /* [Parameter source code] */
85 struct DAAL_EXPORT Parameter: public layers::Parameter
86 {
91  Parameter();
92 };
93 /* [Parameter source code] */
94 
95 } // namespace interface1
96 using interface1::Parameter;
97 
98 } // namespace tanh
100 } // namespace layers
101 } // namespace neural_networks
102 } // namespace algorithm
103 } // namespace daal
104 #endif
daal::algorithms::neural_networks::layers::tanh::Method
Method
Definition: tanh_layer_types.h:57
daal::algorithms::neural_networks::layers::tanh::interface1::Parameter
Parameters for the tanh layer.
Definition: tanh_layer_types.h:85
daal::algorithms::neural_networks::layers::tanh::auxValue
Definition: tanh_layer_types.h:68
daal_defines.h
daal::algorithms::neural_networks::layers::tanh::defaultDense
Definition: tanh_layer_types.h:59
daal::algorithms::neural_networks::layers::tanh::LayerDataId
LayerDataId
Identifiers of input objects for the backward hyperbolic tangent layer and results for the forward hy...
Definition: tanh_layer_types.h:66

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