C++ API Reference for Intel® Data Analytics Acceleration Library 2019 Update 4

lrn_layer_types.h
1 /* file: lrn_layer_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 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 local response normalization layer types.
19 //--
20 */
21 
22 #ifndef __LRN_LAYER_TYPES_H__
23 #define __LRN_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 "data_management/data/homogen_numeric_table.h"
29 #include "services/daal_defines.h"
30 #include "algorithms/neural_networks/layers/layer_types.h"
31 
32 namespace daal
33 {
34 namespace algorithms
35 {
36 namespace neural_networks
37 {
38 namespace layers
39 {
46 namespace lrn
47 {
52 enum Method
53 {
54  defaultDense = 0,
55 };
56 
61 enum LayerDataId
62 {
63  auxData = layers::lastLayerInputLayout + 1,
64  auxSmBeta,
65  lastLayerDataId = auxSmBeta
66 };
67 
71 namespace interface1
72 {
73 
80 /* [Parameter source code] */
81 class DAAL_EXPORT Parameter: public layers::Parameter
82 {
83 public:
92  Parameter(
93  data_management::NumericTablePtr dimension_ = data_management::HomogenNumericTable<size_t>::create(1, 1, data_management::NumericTableIface::doAllocate, 1),
94  const double kappa_ = 2,
95  const double alpha_ = 1.0e-04,
96  const double beta_ = 0.75,
97  const size_t nAdjust_ = 5 );
98 
99  data_management::NumericTablePtr dimension;
101  double kappa;
102  double alpha;
103  double beta;
104  size_t nAdjust;
111  virtual services::Status check() const;
112 };
113 /* [Parameter source code] */
114 
115 } // namespace interface1
116 using interface1::Parameter;
117 
118 } // namespace lrn
120 } // namespace layers
121 } // namespace neural_networks
122 } // namespace algorithm
123 } // namespace daal
124 #endif
daal::algorithms::neural_networks::layers::lrn::interface1::Parameter::dimension
data_management::NumericTablePtr dimension
Definition: lrn_layer_types.h:99
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::lrn::Method
Method
Computation methods for the local response normalization layer.
Definition: lrn_layer_types.h:52
daal::algorithms::neural_networks::layers::lrn::defaultDense
Definition: lrn_layer_types.h:54
daal::algorithms::neural_networks::layers::lrn::interface1::Parameter::beta
double beta
Definition: lrn_layer_types.h:103
daal_defines.h
daal::algorithms::neural_networks::layers::lrn::interface1::Parameter::alpha
double alpha
Definition: lrn_layer_types.h:102
daal::algorithms::neural_networks::layers::lrn::interface1::Parameter::nAdjust
size_t nAdjust
Definition: lrn_layer_types.h:104
daal::algorithms::neural_networks::layers::lrn::interface1::Parameter::kappa
double kappa
Definition: lrn_layer_types.h:101
daal::algorithms::neural_networks::layers::lrn::LayerDataId
LayerDataId
Identifiers of input objects for the backward stage and results for the forward stage of the local re...
Definition: lrn_layer_types.h:61
daal::algorithms::neural_networks::layers::lrn::auxData
Definition: lrn_layer_types.h:63
daal::algorithms::neural_networks::layers::lrn::interface1::Parameter
Parameters for the local response normalization layer.
Definition: lrn_layer_types.h:81
daal::algorithms::neural_networks::layers::lrn::auxSmBeta
Definition: lrn_layer_types.h:64

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