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

prelu_layer_types.h
1 /* file: prelu_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 parametric rectifier linear unit (prelu) layer
19 //--
20 */
21 
22 #ifndef __PRELU_LAYER_TYPES_H__
23 #define __PRELU_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 prelu
49 {
54 enum Method
55 {
56  defaultDense = 0,
57 };
58 
64 enum LayerDataId
65 {
66  auxData = layers::lastLayerInputLayout + 1,
67  auxWeights,
68  lastLayerDataId = auxWeights
69 };
70 
74 namespace interface1
75 {
76 
83 /* [Parameter source code] */
84 class DAAL_EXPORT Parameter: public layers::Parameter
85 {
86 public:
92  Parameter(const size_t _dataDimension = 0, const size_t _weightsDimension = 1);
93 
94  size_t dataDimension;
95  size_t weightsDimension;
102  virtual services::Status check() const;
103 };
104 /* [Parameter source code] */
105 
106 } // namespace interface1
107 using interface1::Parameter;
108 
109 } // namespace prelu
111 } // namespace layers
112 } // namespace neural_networks
113 } // namespace algorithm
114 } // namespace daal
115 #endif
daal::algorithms::neural_networks::layers::prelu::Method
Method
Definition: prelu_layer_types.h:54
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::prelu::interface1::Parameter
Parameters for the prelu layer.
Definition: prelu_layer_types.h:84
daal_defines.h
daal::algorithms::neural_networks::layers::prelu::interface1::Parameter::weightsDimension
size_t weightsDimension
Definition: prelu_layer_types.h:95
daal::algorithms::neural_networks::layers::prelu::LayerDataId
LayerDataId
Identifiers of input objects for the backward prelu layer and results for the forward prelu layer...
Definition: prelu_layer_types.h:64
daal::algorithms::neural_networks::layers::prelu::auxData
Definition: prelu_layer_types.h:66
daal::algorithms::neural_networks::layers::prelu::interface1::Parameter::dataDimension
size_t dataDimension
Definition: prelu_layer_types.h:94
daal::algorithms::neural_networks::layers::prelu::defaultDense
Definition: prelu_layer_types.h:56
daal::algorithms::neural_networks::layers::prelu::auxWeights
Definition: prelu_layer_types.h:67

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