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

initializer.h
1 /* file: initializer.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 neural network layer.
19 //--
20 */
21 
22 #ifndef __INITIALIZERS_H__
23 #define __INITIALIZERS_H__
24 
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/tensor.h"
27 #include "services/daal_defines.h"
28 #include "algorithms/neural_networks/initializers/initializer_types.h"
29 
30 namespace daal
31 {
32 namespace algorithms
33 {
34 namespace neural_networks
35 {
36 namespace initializers
37 {
42 namespace interface1
43 {
48 class InitializerContainerIface : public AnalysisContainerIface<batch>
49 {
50 public:
51  virtual ~InitializerContainerIface()
52  {}
53 };
54 
59 class InitializerIface : public daal::algorithms::Analysis<batch>
60 {
61 public:
62  typedef algorithms::neural_networks::initializers::Input InputType;
63  typedef algorithms::neural_networks::initializers::Parameter ParameterType;
64  typedef algorithms::neural_networks::initializers::Result ResultType;
65 
66  InputType input;
68  InitializerIface() {}
69  InitializerIface(const InitializerIface& other) {}
70 
71  virtual ~InitializerIface() {}
72 
77  virtual ParameterType * getParameter() = 0;
78 };
79 typedef services::SharedPtr<InitializerIface> InitializerIfacePtr;
80 
81 } // namespace interface1
82 using interface1::InitializerContainerIface;
83 using interface1::InitializerIface;
84 using interface1::InitializerIfacePtr;
86 } // namespace initializers
87 } // namespace neural_networks
88 } // namespace algorithms
89 } // namespace daal
90 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::AnalysisContainerIface
Abstract interface class that provides virtual methods to access and run implementations of the analy...
Definition: analysis.h:53
daal::algorithms::neural_networks::initializers::interface1::InitializerContainerIface
Class that specifies interfaces of implementations of the neural network weights and biases initializ...
Definition: initializer.h:48
daal_defines.h
daal::algorithms::neural_networks::initializers::interface1::InitializerIface::getParameter
virtual ParameterType * getParameter()=0
daal::algorithms::neural_networks::initializers::interface1::InitializerIface::input
InputType input
Definition: initializer.h:66
daal::algorithms::neural_networks::initializers::interface1::InitializerIface
Class representing a neural network weights and biases initializer.
Definition: initializer.h:59
daal::algorithms::Analysis
Provides methods for execution of operations over data, such as computation of Summary Statistics est...
Definition: analysis.h:68

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