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

uniform_initializer_types.h
1 /* file: uniform_initializer_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 uniform initializer.
19 //--
20 */
21 
22 #ifndef __UNIFORM_INITIALIZER_TYPES_H__
23 #define __UNIFORM_INITIALIZER_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/initializers/initializer_types.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace neural_networks
36 {
37 namespace initializers
38 {
48 namespace uniform
49 {
54 enum Method
55 {
56  defaultDense = 0
57 };
58 
62 namespace interface1
63 {
64 
69 class Parameter: public initializers::Parameter
70 {
71 public:
78  Parameter(double _a = -0.5, double _b = 0.5, size_t _seed = 777): a(_a), b(_b), seed(_seed) {}
79 
80  double a;
81  double b;
82  size_t seed;
83 };
84 
85 } // namespace interface1
86 using interface1::Parameter;
87 
88 } // namespace uniform
90 } // namespace initializers
91 } // namespace neural_networks
92 } // namespace algorithms
93 } // namespace daal
94 
95 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::initializers::uniform::interface1::Parameter::a
double a
Definition: uniform_initializer_types.h:80
daal_defines.h
daal::algorithms::neural_networks::initializers::uniform::interface1::Parameter::seed
size_t seed
Definition: uniform_initializer_types.h:82
daal::algorithms::neural_networks::initializers::uniform::interface1::Parameter::b
double b
Definition: uniform_initializer_types.h:81
daal::algorithms::neural_networks::initializers::uniform::defaultDense
Definition: uniform_initializer_types.h:56
daal::algorithms::neural_networks::initializers::uniform::interface1::Parameter::Parameter
Parameter(double _a=-0.5, double _b=0.5, size_t _seed=777)
Definition: uniform_initializer_types.h:78
daal::algorithms::neural_networks::initializers::uniform::Method
Method
Definition: uniform_initializer_types.h:54
daal::algorithms::neural_networks::initializers::uniform::interface1::Parameter
Uniform initializer parameters.
Definition: uniform_initializer_types.h:69

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