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

initializer.h
1 /* file: initializer.h */
2 /*******************************************************************************
3 * Copyright 2014-2017 Intel Corporation
4 * All Rights Reserved.
5 *
6 * If this software was obtained under the Intel Simplified Software License,
7 * the following terms apply:
8 *
9 * The source code, information and material ("Material") contained herein is
10 * owned by Intel Corporation or its suppliers or licensors, and title to such
11 * Material remains with Intel Corporation or its suppliers or licensors. The
12 * Material contains proprietary information of Intel or its suppliers and
13 * licensors. The Material is protected by worldwide copyright laws and treaty
14 * provisions. No part of the Material may be used, copied, reproduced,
15 * modified, published, uploaded, posted, transmitted, distributed or disclosed
16 * in any way without Intel's prior express written permission. No license under
17 * any patent, copyright or other intellectual property rights in the Material
18 * is granted to or conferred upon you, either expressly, by implication,
19 * inducement, estoppel or otherwise. Any license under such intellectual
20 * property rights must be express and approved by Intel in writing.
21 *
22 * Unless otherwise agreed by Intel in writing, you may not remove or alter this
23 * notice or any other notice embedded in Materials by Intel or Intel's
24 * suppliers or licensors in any way.
25 *
26 *
27 * If this software was obtained under the Apache License, Version 2.0 (the
28 * "License"), the following terms apply:
29 *
30 * You may not use this file except in compliance with the License. You may
31 * obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
32 *
33 *
34 * Unless required by applicable law or agreed to in writing, software
35 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
36 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37 *
38 * See the License for the specific language governing permissions and
39 * limitations under the License.
40 *******************************************************************************/
41 
42 /*
43 //++
44 // Implementation of neural network layer.
45 //--
46 */
47 
48 #ifndef __INITIALIZERS_H__
49 #define __INITIALIZERS_H__
50 
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/tensor.h"
53 #include "services/daal_defines.h"
54 #include "algorithms/neural_networks/initializers/initializer_types.h"
55 
56 namespace daal
57 {
58 namespace algorithms
59 {
60 namespace neural_networks
61 {
62 namespace initializers
63 {
68 namespace interface1
69 {
74 class InitializerContainerIface : public AnalysisContainerIface<batch>
75 {
76 public:
77  virtual ~InitializerContainerIface()
78  {}
79 };
80 
85 class InitializerIface : public daal::algorithms::Analysis<batch>
86 {
87 public:
88  Input input;
90  InitializerIface() {}
91  InitializerIface(const InitializerIface& other) {}
92 
93  virtual ~InitializerIface() {}
94 
99  virtual Parameter * getParameter() = 0;
100 };
101 typedef services::SharedPtr<InitializerIface> InitializerIfacePtr;
102 
103 } // namespace interface1
104 using interface1::InitializerContainerIface;
105 using interface1::InitializerIface;
106 using interface1::InitializerIfacePtr;
108 } // namespace initializers
109 } // namespace neural_networks
110 } // namespace algorithms
111 } // namespace daal
112 #endif
daal
Definition: algorithm_base_common.h:57
daal::algorithms::AnalysisContainerIface
Abstract interface class that provides virtual methods to access and run implementations of the analy...
Definition: analysis.h:79
daal::algorithms::neural_networks::initializers::interface1::InitializerIface::input
Input input
Definition: initializer.h:88
daal::algorithms::neural_networks::initializers::interface1::InitializerContainerIface
Class that specifies interfaces of implementations of the neural network weights and biases initializ...
Definition: initializer.h:74
daal::algorithms::neural_networks::initializers::interface1::Input
Input objects for initializer algorithm
Definition: initializer_types.h:121
daal_defines.h
daal::algorithms::neural_networks::initializers::interface1::InitializerIface
Class representing a neural network weights and biases initializer.
Definition: initializer.h:85
daal::algorithms::Analysis
Provides methods for execution of operations over data, such as computation of Summary Statistics est...
Definition: analysis.h:94
daal::algorithms::neural_networks::initializers::interface1::InitializerIface::getParameter
virtual Parameter * getParameter()=0

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