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

loss_layer_backward_types.h
1 /* file: loss_layer_backward_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 /*
19 //++
20 // Implementation of the backward loss layer types.
21 //--
22 */
23 
24 #ifndef __LOSS_LAYER_BACKWARD_TYPES_H__
25 #define __LOSS_LAYER_BACKWARD_TYPES_H__
26 
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/tensor.h"
29 #include "data_management/data/homogen_tensor.h"
30 #include "services/daal_defines.h"
31 #include "algorithms/neural_networks/layers/layer_backward_types.h"
32 
33 namespace daal
34 {
35 namespace algorithms
36 {
37 namespace neural_networks
38 {
39 namespace layers
40 {
41 namespace loss
42 {
52 namespace backward
53 {
57 namespace interface1
58 {
64 class DAAL_EXPORT Input : public layers::backward::Input
65 {
66 public:
67  typedef layers::backward::Input super;
72  DAAL_DEPRECATED Input();
73 
78  DAAL_DEPRECATED Input(const Input& other);
79 
80  /*
81  * \DAAL_DEPRECATED
82  */
83  virtual ~Input() {}
84 
88  using layers::backward::Input::get;
89 
93  using layers::backward::Input::set;
94 
103  services::Status check(const daal::algorithms::Parameter *par, int method) const DAAL_C11_OVERRIDE;
104 };
105 
112 class DAAL_EXPORT Result : public layers::backward::Result
113 {
114 public:
119  DAAL_DEPRECATED Result();
120 
121  /*
122  * \DAAL_DEPRECATED
123  */
124  virtual ~Result() {};
125 
129  using layers::backward::Result::get;
130 
134  using layers::backward::Result::set;
135 
145  services::Status check(const daal::algorithms::Input *input, const daal::algorithms::Parameter *par, int method) const DAAL_C11_OVERRIDE;
146 };
147 } // namespace interface1
148 using interface1::Input;
149 using interface1::Result;
150 } // namespace backward
152 } // namespace loss
153 } // namespace layers
154 } // namespace neural_networks
155 } // namespace algorithm
156 } // namespace daal
157 #endif
daal::algorithms::neural_networks::layers::loss::backward::interface1::Result
Provides methods to access the result obtained with the compute() method of the backward loss layer...
Definition: loss_layer_backward_types.h:112
daal_defines.h
daal::algorithms::neural_networks::layers::loss::backward::interface1::Input
Input objects for the backward loss layer
Definition: loss_layer_backward_types.h:64

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