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

truncated_gaussian_initializer_types.h
1 /* file: truncated_gaussian_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 truncated gaussian initializer.
19 //--
20 */
21 
22 #ifndef __TRUNCATED_GAUSSIAN_INITIALIZER_TYPES_H__
23 #define __TRUNCATED_GAUSSIAN_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 truncated_gaussian
49 {
54 enum Method
55 {
56  defaultDense = 0
57 };
58 
62 namespace interface1
63 {
64 
69 template<typename algorithmFPType>
70 class DAAL_EXPORT Parameter : public initializers::Parameter
71 {
72 public:
79  Parameter(double _mean = 0, double _sigma = 1.0, size_t _seed = 777);
80 
81  double mean;
82  double sigma;
83  algorithmFPType a;
84  algorithmFPType b;
85  size_t seed;
87  services::Status check() const DAAL_C11_OVERRIDE;
88 };
89 
90 } // namespace interface1
91 using interface1::Parameter;
92 
93 } // namespace truncated_gaussian
95 } // namespace initializers
96 } // namespace neural_networks
97 } // namespace algorithms
98 } // namespace daal
99 
100 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::initializers::truncated_gaussian::defaultDense
Definition: truncated_gaussian_initializer_types.h:56
daal::algorithms::neural_networks::initializers::truncated_gaussian::interface1::Parameter::b
algorithmFPType b
Definition: truncated_gaussian_initializer_types.h:84
daal::algorithms::neural_networks::initializers::truncated_gaussian::interface1::Parameter::mean
double mean
Definition: truncated_gaussian_initializer_types.h:81
daal::algorithms::neural_networks::initializers::truncated_gaussian::interface1::Parameter::seed
size_t seed
Definition: truncated_gaussian_initializer_types.h:85
daal_defines.h
daal::algorithms::neural_networks::initializers::truncated_gaussian::interface1::Parameter::sigma
double sigma
Definition: truncated_gaussian_initializer_types.h:82
daal::algorithms::neural_networks::initializers::truncated_gaussian::Method
Method
Definition: truncated_gaussian_initializer_types.h:54
daal::algorithms::neural_networks::initializers::truncated_gaussian::interface1::Parameter
truncated gaussian initializer parameters
Definition: truncated_gaussian_initializer_types.h:70
daal::algorithms::neural_networks::initializers::truncated_gaussian::interface1::Parameter::a
algorithmFPType a
Definition: truncated_gaussian_initializer_types.h:83

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